profile.V2 not created [FIXED]

All about Artica managing samba daemons

profile.V2 not created [FIXED]

New postby hvaarkamp » Wed Aug 31, 2011 8:08 pm

The profile.V2 is not automaticly created for windows 7 roaming profiles.
The client logs on with a temporary profile.
Can this profile be crated?
I us Artica 1.5.082813 on Ubuntu 10.04
hvaarkamp
 
Posts: 27
Joined: Sat Mar 12, 2011 1:03 pm
Artica servers number: 2
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: profile.V2 not created

New postby admin » Thu Sep 01, 2011 7:35 am

Have you enabled the roaming option in Artica ?
If yes, put here the content of smb.conf
User avatar
admin
Site Admin
 
Posts: 11943
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: profile.V2 not created

New postby hvaarkamp » Fri Sep 02, 2011 1:13 pm

Roaming profiles is enabled.
I have created /home/export/user.V2, after that roaming works.

Here is the content of smb.conf

#

[global]
workgroup=PLATANEN.INTRA
netbios name=platanen
server string=%h server
disable netbios=yes
strict locking=Auto
sync always=No
getwd cache=Yes
max protocol=NT1
name resolve order=host lmhosts wins bcast
dns proxy=No


#character set = iso8859-1


#domain admin group = @admin
wins support=Yes
min protocol=NT1
syslog=3
log level=4
log file=/var/log/samba/log.%m
debug timestamp=yes


# Enable symbolics links -----------------------------------
follow symlinks=yes
wide links=yes
unix extensions=no
usershare allow guests=no
usershare max shares=100
usershare owner only=true
usershare path=/var/lib/samba/usershares/data


#Guest access
guest account=nobody
map to guest=Bad Password
template homedir=/home/%U
template shell=/bin/false
enable privileges=yes
domain master=yes
local master=yes
preferred master=yes
domain logons=yes
os level=40
ldap passwd sync=no


#WINBINDD *******************************************************
winbind use default domain=yes
winbind enum users=yes
winbind enum groups=yes
password server=*
encrypt passwords=true
winbind separator=/
winbind uid=10000-20000
winbind gid=10000-20000
security=user


# printer -----------------------------------
load printers=yes
printing=cups
printcap name=cups


# VISTA/Windows7 compatibility


# ACLs settings
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=no
inherit acls=no
acl map full control=yes
dos filemode=yes
force unknown acl user=no


# LDAP settings -----------------------------------
ldap delete dn=yes
passdb backend=ldapsam:ldap://127.0.0.1:389


#scripts -----------------------------------
add machine script=/usr/share/artica-postfix/bin/artica-install --samba-add-computer "%u"
ldap admin dn=cn=Manager,dc=my-domain,dc=com
ldap suffix=dc=my-domain,dc=com
ldap group suffix=dc=organizations
ldap user suffix=dc=organizations
ldap machine suffix=ou=Computer,dc=samba,dc=organizations
ldap ssl=off


#Samba and the Editposix/Trusted Ldapsam extension
ldapsam:trusted=yes
ldapsam:editposix=yes
ldap idmap suffix=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap backend=ldap:ldap://127.0.0.1:389
idmap uid=1000-1999999
idmap gid=1000-1999999
idmap config PLATANEN.INTRA:backend=ldap
idmap config PLATANEN.INTRA:readonly=no
idmap config PLATANEN.INTRA:default=yes
idmap config PLATANEN.INTRA:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_url=ldap://127.0.0.1:389
idmap config PLATANEN.INTRA:range=1000-1999999
idmap alloc backend=ldap
idmap alloc config:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap alloc config:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap alloc config:ldap_url=ldap://127.0.0.1:389
idmap alloc config:range=1000-1999999
logon path=\\platanen\profile\%U
logon drive=P:
logon home=\\platanen\%U
socket options=TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive=No
default case=lower
preserve case=yes
short preserve case=yes


#hosts allow = 192.168.0. 127.
time server=yes


#MDFS parameters
msdfs root=no
host msdfs=no


# Shared Folders lists -----------------------------------

[Public]
path=/home/export/Public
create mask=0660
directory mask=0770
browseable=yes
browsable=yes
recycle:repository=.RecycleBin$/%U
vfs object=recycle:repository recycle:keeptree
public=no
writable=no
hide unreadable=no
hide unwriteable files=no
inherit permissions=no
acl check permissions=yes
map acl inherit=yes
acl group control=yes
nt acl support=yes
inherit acls=no
force create mode=0775
create mode=0660
write list=@"Domain Users",henk
recycle:keeptree=yes
recycle:versions=yes
recycle:touch=no
recycle:exclude=*.tmp|*.temp|*.obj|~$*
recycle:exclude_dir=/tmp|/temp|/cache
recycle:maxsize=1073741824
recycle:noversions=*.mdb

[netlogon]
path=/home/netlogon/
writable=No
browseable=No
write list=root

[profiles]


#see USERENV.LOG in c:\windows\debug\UserMod on Windows XP for troubleshooting
path=/home/export/profile
oplocks=false
level2 oplocks=false
csc policy=disable
browseable=No
writeable=Yes
read only=No
profile acls=yes
create mask=0700
directory mask=0700
comment=Roaming user profile storage
hide files=/Desktop.ini/Thumbs.db/lost+found

[profiles.V2]
copy=profiles
browseable=no
csc policy=disable

[profile]
copy=profiles
browseable=no

[homes]
comment=Personnal Folder
browseable=No
writeable=Yes

[printers]
comment=Printers
browseable=yes
path=/var/spool/samba
printable=yes
public=yes
guest ok=yes
writable=no
create mode=0700

[print$]
comment=Printers drivers
path=/etc/samba/printer_drivers
browseable=yes
guest ok=no
read only=yes
write list=root,administrator,@Administrators,@lpadmin
syslog=3
log level=4
log file=/var/log/samba/log.%m
debug timestamp=yes


# Enable symbolics links -----------------------------------
follow symlinks=yes
wide links=yes
unix extensions=no
usershare allow guests=no
usershare max shares=100
usershare owner only=true
usershare path=/var/lib/samba/usershares/data


#Guest access
guest account=nobody
map to guest=Bad Password
template homedir=/home/%U
template shell=/bin/false
enable privileges=yes
domain master=yes
local master=yes
preferred master=yes
domain logons=yes
os level=40
ldap passwd sync=no


#WINBINDD *******************************************************
winbind use default domain=yes
winbind enum users=yes
winbind enum groups=yes
password server=*
encrypt passwords=true
winbind separator=/
winbind uid=10000-20000
winbind gid=10000-20000
security=user


# printer -----------------------------------
load printers=yes
printing=cups
printcap name=cups


# VISTA/Windows7 compatibility


# ACLs settings
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=no
inherit acls=no
acl map full control=yes
dos filemode=yes
force unknown acl user=no


# LDAP settings -----------------------------------
ldap delete dn=yes
passdb backend=ldapsam:ldap://127.0.0.1:389


#scripts -----------------------------------
add machine script=/usr/share/artica-postfix/bin/artica-install --samba-add-computer "%u"
ldap admin dn=cn=Manager,dc=my-domain,dc=com
ldap suffix=dc=my-domain,dc=com
ldap group suffix=dc=organizations
ldap user suffix=dc=organizations
ldap machine suffix=ou=Computer,dc=samba,dc=organizations
ldap ssl=off


#Samba and the Editposix/Trusted Ldapsam extension
ldapsam:trusted=yes
ldapsam:editposix=yes
ldap idmap suffix=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap backend=ldap:ldap://127.0.0.1:389
idmap uid=1000-1999999
idmap gid=1000-1999999
idmap config PLATANEN.INTRA:backend=ldap
idmap config PLATANEN.INTRA:readonly=no
idmap config PLATANEN.INTRA:default=yes
idmap config PLATANEN.INTRA:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_url=ldap://127.0.0.1:389
idmap config PLATANEN.INTRA:range=1000-1999999
idmap alloc backend=ldap
idmap alloc config:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap alloc config:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap alloc config:ldap_url=ldap://127.0.0.1:389
idmap alloc config:range=1000-1999999
logon path=\\platanen\profile\%U
logon drive=P:
logon home=\\platanen\%U
socket options=TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive=No
default case=lower
preserve case=yes
short preserve case=yes


#character set = iso8859-1


#domain admin group = @admin
wins support=Yes


#hosts allow = 192.168.0. 127.
time server=yes


#MDFS parameters
msdfs root=no
host msdfs=no
syslog = 3
log level = 4
log file = /var/log/samba/log.%m
debug timestamp = yes


# Enable symbolics links -----------------------------------
follow symlinks = yes
wide links = yes
unix extensions = no
usershare allow guests = no
usershare max shares = 100
usershare owner only = true
usershare path=/var/lib/samba/usershares/data


#Guest access
guest account = nobody
map to guest = Bad Password
template homedir = /home/%U
template shell = /bin/false
enable privileges = yes
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
os level = 40
ldap passwd sync = no


#WINBINDD *******************************************************
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
password server=*
encrypt passwords = yes
winbind separator = /
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
security = user


# printer -----------------------------------
load printers = yes
printing = cups
printcap name = cups


# VISTA/Windows7 compatibility


# ACLs settings
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=no
inherit acls=no
acl map full control=yes
dos filemode=yes
force unknown acl user = no


# LDAP settings -----------------------------------
ldap delete dn = no
passdb backend = ldapsam:ldap://127.0.0.1:389


#scripts -----------------------------------
add machine script = /usr/share/artica-postfix/bin/artica-install --samba-add-computer "%u"
ldap admin dn = cn=Manager,dc=my-domain,dc=com
ldap suffix = dc=my-domain,dc=com
ldap group suffix = dc=organizations
ldap user suffix = dc=organizations
ldap machine suffix = ou=Computer,dc=samba,dc=organizations
ldap delete dn = yes
ldap ssl = off


#Samba and the Editposix/Trusted Ldapsam extension
ldapsam:trusted=yes
ldapsam:editposix=yes
ldap idmap suffix = ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
encrypt passwords = true
idmap backend = ldap:ldap://127.0.0.1:389
idmap uid = 1000-1999999
idmap gid = 1000-1999999
idmap config PLATANEN.INTRA:backend = ldap
idmap config PLATANEN.INTRA:readonly = no
idmap config PLATANEN.INTRA:default = yes
idmap config PLATANEN.INTRA:ldap_base_dn = ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_user_dn = cn=Manager,dc=my-domain,dc=com
idmap config PLATANEN.INTRA:ldap_url = ldap://127.0.0.1:389
idmap config PLATANEN.INTRA:range = 1000-1999999
idmap alloc backend = ldap
idmap alloc config:ldap_base_dn = ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap alloc config:ldap_user_dn = cn=Manager,dc=my-domain,dc=com
idmap alloc config:ldap_url = ldap://127.0.0.1:389
idmap alloc config:range = 1000-1999999
logon path = \\platanen\profile\%U
logon drive = P:
logon home = \\platanen\%U
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = No
default case = lower
preserve case = yes
short preserve case = yes


#character set = iso8859-1


#domain admin group = @admin
wins support = Yes


#hosts allow = 192.168.0. 127.
time server = yes


#MDFS parameters
msdfs root = no
host msdfs = no


# Shared Folders lists -----------------------------------

[Public]
path = /home/export/Public
create mask = 0660
directory mask = 0770
browseable = yes
browsable = yes
recycle:repository = .RecycleBin$/%U
vfs object = recycle:repository recycle:keeptree
public = no
writable = no
hide unreadable = no
hide unwriteable files = no
inherit permissions = no
acl check permissions = yes
map acl inherit = yes
acl group control = yes
nt acl support = yes
inherit acls = no
force create mode = 0775
create mode = 0660
write list = @"Domain Users",henk
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = no
recycle:exclude = *.tmp|*.temp|*.obj|~$*
recycle:exclude_dir = /tmp|/temp|/cache
recycle:maxsize = 1073741824
recycle:noversions = *.mdb

[netlogon]
path = /home/netlogon/
writable = No
browseable = No
write list = root

[profiles]


#see USERENV.LOG in c:\windows\debug\UserMod on Windows XP for troubleshooting
path = /home/export/profile
oplocks = false
level2 oplocks = false
csc policy = disable
browseable = No
writeable = Yes
read only = No
profile acls = yes
create mask = 0700
directory mask = 0700
comment = Roaming user profile storage
hide files=/Desktop.ini/Thumbs.db/lost+found

[profiles.V2]
copy = profiles
browseable = no
csc policy = disable

[profile]
copy = profiles
browseable = no

[homes]
comment = Personnal Folder
browseable = No
writeable = Yes

[printers]
comment = Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
guest ok = yes
writable = no
create mode = 0700

[print$]
comment = Printers drivers
path = /etc/samba/printer_drivers
browseable = yes
guest ok = no
read only = yes
write list = root,administrator,@Administrators,@lpadmin
hvaarkamp
 
Posts: 27
Joined: Sat Mar 12, 2011 1:03 pm
Artica servers number: 2
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: profile.V2 not created

New postby admin » Fri Sep 02, 2011 1:30 pm

your profile v2 is this

Code: Select all
[profiles.V2]
copy = profiles
browseable = no
csc policy = disable


It is added on your server
User avatar
admin
Site Admin
 
Posts: 11943
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: profile.V2 not created

New postby hvaarkamp » Fri Sep 02, 2011 1:41 pm

Oke, but the dir /home/export/user.V2 is not auto created.
Windows 7 tries to save the profile there. After i create this dir manual its fine.
Can you create this dir auto?
hvaarkamp
 
Posts: 27
Joined: Sat Mar 12, 2011 1:03 pm
Artica servers number: 2
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: profile.V2 not created

New postby admin » Fri Sep 02, 2011 2:50 pm

Yes sure i will add this for the next nightly
User avatar
admin
Site Admin
 
Posts: 11943
Joined: Wed Oct 17, 2007 7:59 am
Location: France


Return to Samba discuss

Who is online

Users browsing this forum: No registered users and 1 guest

cron