LinuXelite
Programmer
Hi everyone!!
Here is my problem...
I have a domain and I set up a file server using Samba and Red Hat 8. In order to get my username/password and groups from the windows NT 4 server, I use winbind and PAM.
getenv passwd gives me
ORTHOFAB+videoconfqc:x:10092:10029:Vid?o conf?rence Qu?bec:/home/ORTHOFAB/videoconfqc:/bin/bash
ORTHOFAB+VilleneuveS:x:10093:10029:Sylvain Villeneuve:/home/ORTHOFAB/villeneuves:/bin/bash
getenv group : same.. it works.
I can log in using SSH or telnet using the users from the PDC domain and my local user. Ive done (smbpasswd -j DOMAIN -r .... -u domainadmin).
Now, I try to change the permission of a samba share in the windows explorer on a windows 2000 workstation (I logged as a domain administrator). It says "permission denied" and remotemachine.log in /var/samba gives me:
[2002/10/23 10:53:00, 0] passdb/pdb_smbpasswd.cdb_getsampwrid(1416)
unable to open passdb database.
In conclusion,
- PAM authentifiace the user from a PDC (windwos NT 4) and Ive change /etc/pam.d/samba;login and systemauth adding user sufficien pam_smd.so)
- I can see my share from a Windows workstation
- I CANNOT add a user, modify a policy or add a group to a samba share. In the windows explorer, I get the following message "the permission is denied" or I get nothing and I the change are not saved.
Few other question: When I create a file in samba from a windows station the owner of the file is not my user account but "SERVER FILE\NOBODY"?
Thank a lot for your help! Im waiting
Here is my problem...
I have a domain and I set up a file server using Samba and Red Hat 8. In order to get my username/password and groups from the windows NT 4 server, I use winbind and PAM.
getenv passwd gives me
ORTHOFAB+videoconfqc:x:10092:10029:Vid?o conf?rence Qu?bec:/home/ORTHOFAB/videoconfqc:/bin/bash
ORTHOFAB+VilleneuveS:x:10093:10029:Sylvain Villeneuve:/home/ORTHOFAB/villeneuves:/bin/bash
getenv group : same.. it works.
I can log in using SSH or telnet using the users from the PDC domain and my local user. Ive done (smbpasswd -j DOMAIN -r .... -u domainadmin).
Now, I try to change the permission of a samba share in the windows explorer on a windows 2000 workstation (I logged as a domain administrator). It says "permission denied" and remotemachine.log in /var/samba gives me:
[2002/10/23 10:53:00, 0] passdb/pdb_smbpasswd.cdb_getsampwrid(1416)
unable to open passdb database.
In conclusion,
- PAM authentifiace the user from a PDC (windwos NT 4) and Ive change /etc/pam.d/samba;login and systemauth adding user sufficien pam_smd.so)
- I can see my share from a Windows workstation
- I CANNOT add a user, modify a policy or add a group to a samba share. In the windows explorer, I get the following message "the permission is denied" or I get nothing and I the change are not saved.
Few other question: When I create a file in samba from a windows station the owner of the file is not my user account but "SERVER FILE\NOBODY"?
Thank a lot for your help! Im waiting