Discussion Locked

Samba

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We use SAMBA to connect to a Linux server on laptops running W2K Pro. When I log in as an "Administrator" to the windows NT domain, the linux server prompts me to enter my linux username and password and I get in fine. From there I have access to all folders and resources given to my username.

But when I log in as a domain user(my username) using the W2K laptop on to the NT domain, the linux server doesn't ask me to enter my username and password like it did previously but I have only access to some folders on the linux server.

Sounds to me that my username have to be included in the Administrators group?...any ides?

5 replies

by mckaytech

Without knowing exactly how things are set up in your smb.conf file, it sounds like there is a user account on the Linux box with your domain username but not an administrator username (no surprise, the administrator in Linux is called "root").

Ithink I would start with checking the accounts on the Linux box. In the /etc/samba directory, you'll find a file called smbusers and another one called smbpasswd (you'll have to be root to see into them). You'll probably find your NT username in one of them, but not administrator. To fix the situation, you'll have to create a group and then assign that group to the network resources you need.

paul

by cavedweller

If you are using "domain" authentication (check your smb.conf file) then the samba server checks with your PDC instead of local files for access control. As noted in the previous answer, "root" doesn't have an domain account and administrator doesn't have a linux account. You need to either map usernames or give administrator a linux account. Also, check the share definitions in smb.conf. If access is by group, make sure administrator is in that group. Check with www.samba.org for more documentation.

This discussion is closed to new replies.