sorry, forgot to add my smb.conf
[global]
printing = bsd
workgroup = workgroup
map to guest = bad user
domain logons = yes
add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s
/bin/false
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbi
Am 16.03.2011 18:00, schrieb TAKAHASHI Motonobu:
> From: "J. Echter"
> Date: Wed, 16 Mar 2011 17:34:35 +0100
>
>>> You should show us enough information for us to re-produce such as
>>> all content of smb.conf and related settings:
>>>
>>> In my lab, profile dir is successfully created. My env is.
Am 16.03.2011 18:02, schrieb t...@tms3.com:
> You should show us enough information for us to re-produce such as
>>
>>>
>>> all content of smb.conf and related settings:
>>>
>>> In my lab, profile dir is successfully created. My env is...
>>>
>>> - Debian lenny (hostname is "lenny5") + self-compile
You should show us enough information for us to re-produce such as
all content of smb.conf and related settings:
In my lab, profile dir is successfully created. My env is...
- Debian lenny (hostname is "lenny5") + self-compiled Samba 3.5.6
- my smb.conf and shares
---
[global]
workgr
From: "J. Echter"
Date: Wed, 16 Mar 2011 17:34:35 +0100
> > You should show us enough information for us to re-produce such as
> > all content of smb.conf and related settings:
> >
> > In my lab, profile dir is successfully created. My env is...
(snip)
> smb.conf
(snip)
> ls -lR /home/samba/p
Am 16.03.2011 17:21, schrieb TAKAHASHI Motonobu:
- Created a user:
# useradd -d /var/home/test01 test01
# smbpasswd -a test01
# pdbedit -v test01
...
Profile Path: \\lenny5\profiles\test01
...
- When I logon as test01 from Windows XP workstation which is already
joined to the "SAMB
Am 16.03.2011 17:21, schrieb TAKAHASHI Motonobu:
From: "J. Echter"
Date: Wed, 16 Mar 2011 11:09:59 +0100
i have a Samba PDC (no LDAP) and added add user script to my config.
I can create the user with no problems, login is possible but the
/home/samba/profile/user dir is not created.
Any hint
From: "J. Echter"
Date: Wed, 16 Mar 2011 11:09:59 +0100
> i have a Samba PDC (no LDAP) and added add user script to my config.
>
> I can create the user with no problems, login is possible but the
> /home/samba/profile/user dir is not created.
>
> Any hints on that?
You should show us enough
Am 16.03.2011 16:55, schrieb Bruce Richardson:
On Wed, Mar 16, 2011 at 12:01:52PM +, Bruce Richardson wrote:
What do you have in your "logon path" setting in smb.conf?
You never answered this question. You don't need to have anything
there, because it defaults to "\\%N\%U\profile", but if
On Wed, Mar 16, 2011 at 12:01:52PM +, Bruce Richardson wrote:
>
> What do you have in your "logon path" setting in smb.conf?
You never answered this question. You don't need to have anything
there, because it defaults to "\\%N\%U\profile", but if you do have
something there, what is it?
Are
On Wed, Mar 16, 2011 at 04:17:05PM +0100, J. Echter wrote:
> Am 16.03.2011 13:01, schrieb Bruce Richardson:
> >On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote:
> >>no, i want to have a profile dir created when a new created user
> >>logs in. that's it. :)
> >
> >If you create these direct
Am 16.03.2011 13:01, schrieb Bruce Richardson:
On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote:
no, i want to have a profile dir created when a new created user
logs in. that's it. :)
If you create these directories manually and then a user logs in, does
the user's profile informatio
Am 16.03.2011 13:01, schrieb Bruce Richardson:
On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote:
no, i want to have a profile dir created when a new created user
logs in. that's it. :)
Well, as long as you have the correct acls on the share and permissons
on the directory, the user's w
On Wed, Mar 16, 2011 at 11:21:42AM +0100, Marco Ciampa wrote:
>
> IMHO you have to create it with a script.
> In that script you will create the user (with useradd) and then the profile
> dir...
I think it is probably a bad idea to do this with a script unless you
have some good reason to need i
On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote:
> no, i want to have a profile dir created when a new created user
> logs in. that's it. :)
Well, as long as you have the correct acls on the share and permissons
on the directory, the user's workstation should try to create the
user direc
thats what i did.
maybe there's something else wrong with my profiles definition in this case?
[profile]
comment = Profildateien
path = /home/samba/profile
guest ok = yes
browseable = no
create mask = 0600
directory mask = 0700
writeable = yes
root preexec = /usr/local/bi
You must add "root preexec" to the Section [profiles]
my section [profiles]:
comment = Network Profiles Service
#path = %H
path = /data2/profiles
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
write list =
Am 16.03.2011 11:50, schrieb Bruce Richardson:
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote:
Hi,
i have a Samba PDC (no LDAP) and added add user script to my config.
I can create the user with no problems, login is possible but the
/home/samba/profile/user dir is not created.
It'
Am 16.03.2011 11:50, schrieb Bruce Richardson:
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote:
Hi,
i have a Samba PDC (no LDAP) and added add user script to my config.
I can create the user with no problems, login is possible but the
/home/samba/profile/user dir is not created.
It'
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote:
> Hi,
>
> i have a Samba PDC (no LDAP) and added add user script to my config.
>
> I can create the user with no problems, login is possible but the
> /home/samba/profile/user dir is not created.
It'll be created automatically when the u
Am 16.03.2011 11:33, schrieb Wasil:
Hi
You must have something like this:
in smb.conf^
[profiles]
.
root preexec = /usr/local/bin/mkprofile.sh %u %g
mkprofile.sh:
#!/bin/sh
PROFILE=/data2/profiles/$1
if [ ! -e $PROFILE ]; then
mkdir -pm700 $PROFILE
chown $1:$2 $PROFILE
fi
W
Am 16.03.2011 11:21, schrieb Marco Ciampa:
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote:
Hi,
i have a Samba PDC (no LDAP) and added add user script to my config.
I can create the user with no problems, login is possible but the
/home/samba/profile/user dir is not created.
Any hin
Hi
You must have something like this:
in smb.conf^
[profiles]
.
root preexec = /usr/local/bin/mkprofile.sh %u %g
mkprofile.sh:
#!/bin/sh
PROFILE=/data2/profiles/$1
if [ ! -e $PROFILE ]; then
mkdir -pm700 $PROFILE
chown $1:$2 $PROFILE
fi
Wed, 16 Mar 2011 11:09:59 +0100 письм
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote:
> Hi,
>
> i have a Samba PDC (no LDAP) and added add user script to my config.
>
> I can create the user with no problems, login is possible but the
> /home/samba/profile/user dir is not created.
>
> Any hints on that?
IMHO you have to
Hi,
i have a Samba PDC (no LDAP) and added add user script to my config.
I can create the user with no problems, login is possible but the
/home/samba/profile/user dir is not created.
Any hints on that?
script commands i added:
add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntuse
25 matches
Mail list logo