答复: [Samba] About the group setting in smb.conf RE: samba Digest,Vol 34, Issue

Liu, Hong Quan 刘红泉 liuhongquan at nwbsc.com
Tue Oct 11 04:18:19 GMT 2005


Hi Adrian,
Thank you for your help!
I did it according your advice ,for example:
[IT Dept]
        comment = IT Department file space
        path = /appl/it
        valid users = "@all it"
        public = No
        writable = yes
but I cann't pass the authentication by AD.
The error message in log likes this:
2005/10/11 12:05:06, 4] smbd/reply.c:reply_tcon_and_X(407)
  Client requested device type [?????] for share [IT DEPT]
[2005/10/11 12:05:06, 5] smbd/service.c:make_connection(807)
  making a connection to 'normal' service it dept
[2005/10/11 12:05:06, 10] lib/username.c:user_in_list(529)
  user_in_list: checking user NWBSC\liuhongquan in list
[2005/10/11 12:05:06, 10] lib/username.c:user_in_list(533)
  user_in_list: checking user |NWBSC\liuhongquan| against |@all it|
[2005/10/11 12:05:06, 5] lib/username.c:user_in_netgroup_list(320)
  looking for user NWBSC\liuhongquan of domain  in netgroup all it
[2005/10/11 12:05:06, 5] lib/username.c:user_in_netgroup_list(336)
  looking for user nwbsc\liuhongquan of domain  in netgroup all it
[2005/10/11 12:05:06, 2] smbd/service.c:make_connection_snum(321)
  user 'NWBSC\liuhongquan' (from session setup) not permitted to access this sha
re (IT Dept)
[2005/10/11 12:05:06, 3] smbd/error.c:error_packet(105)
  error string = Invalid argument

Why?

Thanks!
Liu

-----邮件原件-----
发件人: samba-bounces+liuhongquan=nwbsc.com at lists.samba.org [mailto:samba-bounces+liuhongquan=nwbsc.com at lists.samba.org] 代表 adrian sender
发送时间: 2005年10月10日 23:35
收件人: samba at lists.samba.org
主题: RE: [Samba] About the group setting in smb.conf RE: samba Digest,Vol 34, Issue

h>From: samba-request at lists.samba.org
>Reply-To: samba at lists.samba.org
>To: samba at lists.samba.org
>Subject: samba Digest, Vol 34, Issue 14
>Date: Mon, 10 Oct 2005 12:05:06 +0000 (GMT)

-------------------------------------------------------------------------------------------------------
From: Liu, Hong Quan ÁõºìȪ <liuhongquan at nwbsc.com>
To: <samba at lists.samba.org>
Subject: [Samba] About the group setting in smb.conf.
Sent: Monday, 10 October 2005 12:19:13 PM
Hi,

This is my first time to configure Samba server as a member server in AD 
domain,

So, I have a question about how to configure a group name with one or more
spaces in smb.conf?

As we know, this kind of group names are very common in Windows environment.

For example, set ¡°valid users¡± parameter:

Usually , a name starting with @ is represented group,

   valid users = username, @GroupName,¡­

But if the group name includes spaces, e.g. ¡°it dept¡±, ¡°sales dept¡±,

How can I set them correctly?

(I set them as @¡±it dept¡±, but the winbind log file tells me ¡°group it 
dept
in domain XXXX does not exist¡±,

But I can list this group using wbinfo ¨Cg)

Wish someone give me a advice!

>Thanks in advance!
----------------------------------------------------------------------------------------------

RE: [Samba] About the group setting in smb.conf

Hello Liu,

If you have have a group such as Domain members you muse use "@group name". 
You seem to be missing ""  hThis should solve your problem.


[Video]
  comment = Videos & Movies
  path = /data/Video
  writeable = no
  browsable = yes
  read only = yes
  valid users = "@Domain Users"

Cheers,

Adrian Sender


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list