[Samba] When im login the error: "A device attached to the system is not functioning"
Muqtadir Kamal
smkamal2001 at gmail.com
Fri Jun 4 23:31:35 MDT 2010
Hey everyone,
I've got a Samba server running with an Open LDAP backend in Centos 5.5, I
could not login with the Administrator's account in window xp clients,
When im login the error is come: "A device attached to the system is not
functioning"
And i want to disable the roaming profiles also.
Please help me in this regards...........
[root at XXXX ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Global parameter server signing found in service section!
Global parameter server schannel found in service section!
Processing section "[netlogon]"
Processing section "[Profiles]"
WARNING: No path in service Profiles - making it unavailable!
NOTE: Service Profiles is flagged unavailable.
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
workgroup = XXXX
interfaces = XXXXX
passdb backend = ldapsam:ldap://127.0.0.1
pam password change = Yes
passwd program = /usr/bin/passwd '%u'
passwd chat = "*New UNIX password*" %n\n "*Retype new UNIX
password*" %n\n "*Changing password for*\nNew password*" %n\n "*Retype new
password*" %n\n" "*updated successfully*"
username map = /etc/samba/smbusers
log level = 3
log file = /var/log/samba/log.%m
max log size = 100000
time server = Yes
printcap name = cups
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
logon script = logon.bat
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=XXXX,dc=XXX
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Hosts
ldap passwd sync = Yes
ldap suffix = dc=XXXX,dc=XXX
ldap ssl = no
ldap user suffix = ou=Peoples
idmap uid = 1500-2000
idmap gid = 1500-2000
admin users = administrator at smbadmins
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
valid users = %U
admin users = root
guest ok = Yes
browseable = No
[Profiles]
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
available = No
More information about the samba
mailing list