[Samba] Samba3+ads+winbindd works but!!
Gul Seda Unal
unalgu at itu.edu.tr
Thu Aug 28 06:38:26 GMT 2003
hi;
after i've compiled Samba3 with supports(ads,krb5,acl,winbindd) and have
configured smb.conf having
workgroup = CC
realm = CC.AD.ITU.EDU.TR
security = ADS
idmap uid = 500-65535
idmap gid = 100-65535
winbind separator = +
winbind cache time = 15
krb5.conf having
[realms]
CC.AD.ITU.EDU.TR = {
kdc = atreides.cc.ad.itu.edu.tr:88
admin_server = atreides.cc.ad.itu.edu.tr:749 default_domain =
cc.ad.itu.edu.tr
}
[domain_realm]
.cc.ad.itu.edu.tr = CC.AD.ITU.EDU.TR
cc.ad.itu.edu.tr = CC.AD.ITU.EDU.TR
nsswitch.conf having
passwd: files nisplus winbind ldap
shadow: files
group: files nisplus winbind ldap
ldap.conf having
host atreides.cc.ad.itu.edu.tr
base dc=cc,dc=ad,dc=itu,dc=edu,dc=tr
nss_map_objectclass posixAccount User
nss_map_attribute uid sAMAccountName
nss_map_attribute uniqueMember Member
nss_map_attribute homeDirectory msSFUHomeDirectory
nss_map_objectclass posixGroup Group
pam_login_attribute sAMAccountName
pam_filter objectclass=User
pam_password ad
nothing seems bad my samba works well but i've got a problem like:
when i use the command "wbinfo" it cannot give me the right uid (not the same
with PDC)
[root at atolye4 lib]# id unalgu
uid=26198(unalgu) gid=100(users) groups=100(users)
[root at atolye4 lib]# /usr/local/samba/bin/wbinfo -U 26198
Could not convert uid 26198 to sid
[root at atolye4 lib]# /usr/local/samba/bin/wbinfo -n unalgu
S-1-5-21-1141275286-1431899739-1540833222-2507 1
[root at atolye4 lib]# /usr/local/samba/bin/wbinfo -S S-1-5-21-1141275286-
1431899739-1540833222-2507 1
502
[root at atolye4 lib]#
As you can easily see the redirection between sid an uid is wrong.whats is
the problem..?
and also when i want to run samba \\Samba server i can see the shares but i
cannot access them.
help!
thanks
-------------------------------------------------
This mail sent through IMP: http://webmail.students.itu.edu.tr
More information about the samba
mailing list