Re: [cifs-discuss] Client denied access (NO_SUCH_USER)

2010-04-19 Thread CD
Thanks alot, I will try and upgrade my system as you said.
-- 
This message posted from opensolaris.org
___
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss


Re: [cifs-discuss] Client denied access (NO_SUCH_USER)

2010-04-15 Thread Afshin Salek

Which Solaris build you are running?

Do you have a user account called Administrator on your
Solaris box?

Afshin

On 04/15/10 12:41 PM, CD wrote:

I'm having an issue with CIFS not allowing connection from my windows-machines.

I'm getting the following from my 'dmesg' when trying to connect from my 
clients:
#SmbLogon[COMPUTER\Administrator]: NO_SUCH_USER

- smb/server is up and running.
- The zfs shares is configured
- Pam_smb_passwd added to pam.conf (ran 'passwd' on users afterwards)
- Ran a cifs-chkcfg, which didn't yield any output (seems like everything is ok)

I'm using ACL extensively on the server, which works seamlessly with my 
linux-machines. My current solution is sharing the NFS-mounted shares from a 
linux-machine. Now what we really need is nfs-clients on windows

Also,
#smbadm list
[*] [WORKGROUP]


Since I'm running in workgroup-mode, and ACLs for file access; do I need to 
configure any sort of mapping to allow the clients to access the server?


Thanks :)

___
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss


Re: [cifs-discuss] Client denied access (NO_SUCH_USER)

2010-04-15 Thread CD
Thanks for replying.

Usually, you get a pop-up, asking for username and password when accessing a 
share on windows. This does not happen. What I get, is a time-out msg in 
windows, and the smbLogon-msg on my server.

Why is the server denying access based on hostname/username, and not prompting 
me with a login-box, as it should?
When I read the cifs admin-guide, the stuff about adding groups and members 
with 'smbadm' seemed to be related to running in domain-mode, which I'm not.

I'm running the 2009.06-release.
-- 
This message posted from opensolaris.org
___
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss


Re: [cifs-discuss] Client denied access (NO_SUCH_USER)

2010-04-15 Thread Afshin Salek

You are running a very old build which has some serious issues
as far as SMB service is concerned. So, you need to upgrade to
the latest available development release, otherwise you would
run into other issues like SMB service hanging.

Second, if you don't have a local Administrator user on your
Solaris box, why are you surprised by NO_SUCH_USER error? How
do you expect the server should authenticate your connection?

Even on Windows in workgroup mode you need to have local users
on the Windows system in order to authenticate the connections
unless you're using the Guest account.

So, in workgroup mode you need to have local users in Solaris
in /etc/passwd and then use smbpasswd to create SMB password
for those users which are stored in /var/smb/smbpasswd, this
includes Administrator (with captical A since Solaris user
names are case-sensitive)

Afshin

On 04/15/10 01:53 PM, CD wrote:

Thanks for replying.

Usually, you get a pop-up, asking for username and password when accessing a 
share on windows. This does not happen. What I get, is a time-out msg in 
windows, and the smbLogon-msg on my server.

Why is the server denying access based on hostname/username, and not prompting 
me with a login-box, as it should?
When I read the cifs admin-guide, the stuff about adding groups and members 
with 'smbadm' seemed to be related to running in domain-mode, which I'm not.

I'm running the 2009.06-release.

___
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss


Re: [cifs-discuss] Client denied access (NO_SUCH_USER)

2010-04-15 Thread Afshin Salek

As I've mentioned in my previous email you need to upgrade your system
before we can pursue your problem since as I've mentioned the build
you're running is quite bogus as far as SMB server is concerned.

Afshin

On 04/15/10 04:28 PM, CD wrote:

Hello again.

With the previous version i used (early 2008 version), everything worked 
perfectly. It did so for almost a year, with no errors or problems whatsoever 
with CIFS.

I've configured the system with groups, users and corresponding ACLs -- which 
works brilliantly with NFS.

When I try to log onto the server via my WinXP-machines, I get no dialog or 
anything. It looks at my client's hostname/username and denies entry based on 
that. Why does it do that?


This seems odd and buggy, since I've gotten the login-dialog from the server 
several times. The problem is that if I reboot the client or try to login from 
another, it didn't work. I rebooted the server and it would let me log in a 
single time again. Later that week, it stopped working alltogether...

___
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss