August 27, 2014, 12:58:12 PM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
Linux Servers Support / Difference between major distros and why?
« Last post by brittocj on January 05, 2013, 06:04:26 PM »
Hi,

What are difference between major server distros and what is the advantage?

Kernel (2.6) and bash (4.1) are same for Ubuntu and Red Hat only certain commands are different, file system structure is different and package manager ( deb and rpm) so which program makes this difference ? We cannot use yum and apt inter changeably, why?

thanks in advance.

britto
62
Linux Servers Support / How to Map AD groups to Samba share
« Last post by sunnysthakur on January 04, 2013, 06:42:25 AM »
I am setup a samba share server which is authenticating from Active Directory.

I am able to access the share with AD user but not able to access when group defined in "valid users" parameters.

below are the steps i performed.

In smb.conf

[global]
workgroup = QASLABS
password server = WIN-60I6H2BG237.qaslabs.net
realm = QASLABS.NET
preferred master = no
security = ADS
idmap backend = ad
idmap uid = 100-20000000
idmap gid = 100-20000000
winbind separator = +
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = false
preferred master = no
server string = Linux Test Machine
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind nested groups = yes
netbios name = smbad
hosts allow = 127.0.0.1 192.16.17.0/24
passdb backend = tdbsam
template homedir = /home/%U
winbind nss info = rfc2307

[Data]
[COLOR="RoyalBlue"]comment = Directory for storing Data
path= /opt/data
valid users = @NETWORK+itadmin NETWORK+testadmin
#valid users = @"QASLABS.NET\\itadmin"
writeable = yes
browseable=yes
create mask = 775
directory mask = 775
hosts allow = 127.0.0.1 192.16.17.0/24[/COLOR]

In /etc/nsswitch.conf

passwd: files winbind
shadow: files winbind
group: files winbind
hosts: files dns wins
bootparams: nisplus [NOTFOUND=return] files
ethers: db files
netmasks: files
networks: files
protocols: db files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus

On executing the wbinfo -u i am getting the user list from AD

[root@smbad ~]# wbinfo -u
administrator
guest
krbtgt
testdev
testadmin
testhr
testqa
testit
testcmt
testsupp
testituser

On executing the wbinfo -u i am getting the user list from AD. But groups i created on AD is not displaying in this list [i.e itadmin]

[root@smbad ~]# wbinfo -g
BUILTIN+administrators
BUILTIN+users
SMBAD+itadmin
domain computers
domain controllers
domain admins
domain users
domain guests
group policy creator owners
read-only domain controllers
dnsupdateproxy
cert publishers
ras and ias servers
allowed rodc password replication group
denied rodc password replication group
dnsadmins
schema admins
enterprise admins
enterprise read-only domain controllers

Please help on how to map AD group to samba so that group permissions can be setup on samba
63
Linux Servers Support / FTP authenticate using LDAP
« Last post by zabidin2 on December 20, 2012, 05:51:56 AM »
Hi,

My client required to access FTP and authenticate using LDAP. Server using Centos 5.2 64bit(ZIMBRA LDAP) and Centos 6.3 (FTP). Ftp server and LDAP server is a separate server. Still investigate what wrong because in /var/log/message it not show any complete error . Here is diagram.

http://postimage.org/image/8i0ehgv3j

Hope you guy here can give some hint.

Thanks.
64
Linux Servers Support / Re: What are Inodes and how to increase them?
« Last post by sumit1203 on December 19, 2012, 10:10:41 AM »
If you are keeping huge number of small files in your disks, this may one day cause running out of available inodes because of which even though you might have sufficient disk space, file system cannot create new files. Lets see how it works in my 1GB disk partition.

The parameter “-i” allows us to play with the number of inodes we can have in a partition. It is called “bytes-per-inode”. The bigger it is less number of inodes you will have. I have set a relatively big size “163840″ bytes per inode and the result is I have 6768 inodes. What this means indeed is I can’t create more than 6768 file.

In order to increase the number of inodes, format the partition again and specify the size.

#mkfs.ext3 -i 163840 /dev/sdb1

In order to check,use the command:
#df -i

65
Linux Servers Support / Re: Linux Remote Installation
« Last post by itguy on December 14, 2012, 02:09:07 PM »
check out how to configure PXE server in Linux environment...
http://redhatserverconfiguration.blogspot.in/2012/12/pxe-server-configuration_12.html
66
Forum Suggestion & News / Unexpected forum downtime
« Last post by LS-Admin on December 14, 2012, 10:20:04 AM »
Dear members,

Recently LinuxSolved.com was not available for few hours , it was due to problem in current server however issue has been resolved. We have moved forum to a new temporary server and will monitor how it works here, if it is good then will remain on this server. If you faces any issue then let us know.

Thank you!
Admin
LinuxSolved.com
67
I guess trouble are popping up with me a lot, here is the error I am facing on a cpanel based CentOS 6 server. It came up suddenly. On page I am seeing "500 internal server error"

Code: [Select]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain..com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mydomain.com Port 80

I checked error log and found following errors..

Code: [Select]
[Fri Dec 07 14:58:07 2012] [error] [client 38.109.219.100] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client 38.109.219.100] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:07 2012] [error] [client 66.249.73.182] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client 66.249.73.182] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:02 2012] [error] [client 82.145.217.66] File does not exist: /home/keenp/public_html/500.shtml

I thought its because of .htaccess.. I completely removed it but still nothing happened, where could be the problem ?
68
Linux Servers Support / Re: What are Inodes and how to increase them?
« Last post by dalek on December 07, 2012, 07:57:35 AM »
You can't without recreating the file system.  Basically, you need to backup whatever is on that partition, reformat it and restore from backups. 

If you did not change the setting when you created the file system before, you need to use the -N option.  Make sure that N is capitalized too.  I have no idea on how to set that number tho.  I have never ran out of inodes but have read about this problem before.  This is one of those you don't want to have because it sneaks up on you.  Most people watch the space but never check on the inodes. 

You may want to check into other file systems too.  The extX family uses inodes but reiserfs doesn't and I think there are others that don't use inodes either. 

Oh, each time you create a file, the name of that file is on a inode.  So each file uses one inode for the name and where the file is located.  That's my understanding of it at least.

 :)    :)
69
Miscellaneous / Re: How to extract a single directory from tar archive using command line
« Last post by dalek on December 07, 2012, 07:26:07 AM »
Glad you got it working. 

 :)    :)
70
Linux Installation Support / Re: How to install iconv on Linux?
« Last post by keen_prat on December 07, 2012, 07:19:16 AM »
As per documentation :
Quote
This extension is enabled by default, although it may be disabled by compiling with --without-iconv .

The optional --with-iconv-dir directive is used to specify the location of iconv on the system that PHP is being compiled on, otherwise only the default locations are scanned.
So it is already available and if its not there you can install it yourself..  see itself:
http://www.gnu.org/software/libiconv/
Pages: 1 ... 5 6 [7] 8 9 10