Re: [Samba] help in samba - reg

2006-06-24 Thread Gary Dale
The share will show up if it is listed reasonably in your shares 
declarations in smb.conf.  Accessing the share however requires that you 
have valid credentials for that share. There are a lot of things that 
can go wrong with this.


I suggest that you read the Samba Howto Collection or Samba by Example, 
or some of the other documentation available at samba.org.


Also, I suggest you install SWAT and use it to do the basic Samba 
configuration - especially use the Wizards to set up your Samba server. 
If this is to be a Domain Controller, also use SWAT to set up and 
activate your user accounts!


Good luck.


Mohanraj Palanisamy wrote:

Dear Sir,

 I am in need of help in accessing linux shares with windows , my share
appears on windows share but when i supply username & passwd it says
error in username & passwd, pls help me in solving this problem.



Thanks & Regards
Mohanraj P
System Manager
Kongu Arts & Science College
Erode - 638 107.
Tamil Nadu

  


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


Re: [Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem

2006-06-24 Thread Doug VanLeuven

Nir Barkan wrote:

Hi All,

 


I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8

configure works  fine but make fails

I am running configure with the option --with-krb5=/opt/local which is
where I have heimdal installed.  The problem is that after running make,
it still tries to use the include files from SUN that are in /usr/ and this
screws up the compile.
 
/opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context'

/usr/include/gssapi/gssapi.h:551: previous declaration of
`gss_inquire_context'



declaration of `gss_unseal'

make: *** [dynconfig.o] Error 1
 
Any Ideas how to solve this?
 


When I configure & compile from non -standard libs,
I explicitly set the paths required.
Some people like to put it on the command line, but
I created a shell script to invoke configure with my
required options and compiler flags.  These are commented on
at the end of output from "./configure --help"

#!/bin/sh

export LIBS="-L/usr/local/ldap/lib -L/usr/local/lib"

export CFLAGS="-O2 -L/usr/local/ldap/include -I/usr/local/include"

export CPPFLAGS="-I/usr/local/ldap/include"

./configure \
(flag1=opt) \
(flag2=opt)

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


[Samba] help in samba - reg

2006-06-24 Thread Mohanraj Palanisamy
Dear Sir,

 I am in need of help in accessing linux shares with windows , my share
appears on windows share but when i supply username & passwd it says
error in username & passwd, pls help me in solving this problem.



Thanks & Regards
Mohanraj P
System Manager
Kongu Arts & Science College
Erode - 638 107.
Tamil Nadu

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


[Samba] Quota / OpLock file truncation again

2006-06-24 Thread Marc Jacobsen
I am seeing a potentially serious bug with samba 3.0.22 on Linux (Ubuntu 
Dapper Drake).  I found the following old discussions about the same 
problem:


http://lists.samba.org/archive/samba-technical/2004-September/037328.html

and

http://lists.samba.org/archive/samba/2003-July/071081.html

as well as this old closed bug in bugzilla:

https://bugzilla.samba.org/show_bug.cgi?id=679

I couldn't find when or if the problem in the second discussion got 
resolved, and I couldn't find an open bug in bugzilla.


Anyway, what I am seeing is that with quotas turned on in Linux, and 
OpLocks enabled on Samba, if you open a file on a client with notepad, 
expand it past where the quota will allow, then save it, there is no 
error message.  The client will see the file as the size it expected, 
but any data past the quota limit is NULL.  If you turn off OpLocks and 
do the same thing the save will fail and give an error popup window.


If you set "strict allocate" the only difference is that you won't have 
the NULL data past the quota limit, the file will just be truncated at 
the quota limit.  But notepad will not give an error on save, leaving 
the user ignorant of the file truncation, and data loss.  This sounds 
just like what was described in the second discussion from above.


Wordpad and other applications don't exhibit the same behavior.

So I see three possibilities.  There is a workaround (like setting 
"strict allocate") that I am not aware of.  Or Samba has regressed and 
this old bug came back.  Or the bug was only fixed for other apps like 
Wordpad, but it has always been an overlooked bug with notepad.  I can't 
believe that a bug like this would be left in Samba intentionally.


Can anybody please fill me in?

Note: my return address is not valid, I will monitor the mailing list.


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


[Samba] Samba profiles

2006-06-24 Thread Diego Lorenzo - OJC
Hi, everybody.

It is possible to configure a samba pdc server to run two or more different 
confs by different users? For instance, the user Paul has mobile profile and 
the user Peter has local profile. I have about a thousand users in my company. 
Most of them will have local profiles and only twenty of them will have mobile 
profiles. Have been reading ´bout an "include" clause placed in the primary 
smb.conf. Does it works? Have anyone tried it up?   

Best regards,

Diego


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


[Samba] help in samba config - reg

2006-06-24 Thread Mohanraj Palanisamy



Thanks & Regards
Mohanraj P
System Manager
Kongu Arts & Science College
Erode - 638 107.
Tamil Nadu

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


[Samba] Samba installation error on multi-processor server machines with Linux 2.6 SMP kernel

2006-06-24 Thread Nandun Hewapathirana
Hi,

 

I tried to install Samba server into my hp-proliant server that is
support for linux 2.6 smp Kernel. But when I am going to install samba
it removed my smp kernel and try to install samba. What I want to know
is why samba installation removed existing smp linux kernel. Below I
have paste the screen shot of the samba installation.

 

scmsamba:~# apt-get install samba winbind krb5-doc krb5-user krb5-config

Reading Package Lists... Done

Building Dependency Tree... Done

The following extra packages will be installed:

  busybox grub klibc-utils libc6 libcupsys2 libgcrypt11 libgnutls12
libgnutls13 libgpg-error0 libkadm55 libklibc libkrb53

  libldap2 libncurses5 libopencdk8 libsasl2 libselinux1 libsepol1
libtasn1-3 libvolume-id0 locales lsb-base makedev

  module-init-tools samba-common tzdata

Suggested packages:

  grub-doc grubconf glibc-doc rng-tools gnutls-bin

Recommended packages:

  libsasl2-modules libtasn1-3-bin smbldap-tools

The following packages will be REMOVED:

  base-config initrd-tools kernel-image-2.6-686-smp
kernel-image-2.6.8-2-386 kernel-image-2.6.8-2-686-smp

The following NEW packages will be installed:

  busybox klibc-utils krb5-config krb5-doc krb5-user libcupsys2
libgnutls12 libgnutls13 libkadm55 libklibc libkrb53 libldap2

  libsasl2 libselinux1 libsepol1 libtasn1-3 libvolume-id0 lsb-base samba
samba-common tzdata winbind

The following packages will be upgraded:

  grub libc6 libgcrypt11 libgpg-error0 libncurses5 libopencdk8 locales
makedev module-init-tools

9 upgraded, 22 newly installed, 5 to remove and 118 not upgraded.

Need to get 20.6MB of archives.

After unpacking 62.4MB disk space will be freed.

Do you want to continue? [Y/n]

 

 

Thanks,

Nandun Hewapathirana

E-mail: [EMAIL PROTECTED]

 

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


[Samba] Perl file conversion (dos2unix)

2006-06-24 Thread JStrother
In samba digest volume 1 #199 there is a post entitled "Plain text file
transfer problem".  In there it states that there is a perl script that
will do file translations from dos to unix.  Would it be possible for me
to get a copy of that?

 

Thanks,

Julie Strother

Oracle DBA

713-386-8071

[EMAIL PROTECTED]

 

 

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


[Samba] German Umlaut issue on uNSLUnged Linksys with Samba3

2006-06-24 Thread Oliver Doll
[sorry for my maybe newbie Qs and using this group for my busybox
issue but though having visited some forums about this I'm getting
nuts]

I unslugged a Linksys NSLU2 device with V2.3R63-uNSLUng-6.8-beta as I
plan to use it as a DC replacement for my W2k server at home. But I
already got stuck before this.

Following the unslinging I installed the Samba3 IPKGs for the NSLU
guided by the hints on http://www.nslu2-linux.org/wiki/Unslung/Samba.

I modified the original smb.conf [1] to [2], but as soon as I stop the
build-in smb service and start using the IPKG Samba filenames and
directories on the attached ext3 HDD containing German umlauts get
screwly displayed on my windows clients (on the NSLU command shell as
well).

I already tried a couple of codepage options, e.g. using variations of

# unix charset = CP850
# dos charset = CP850
#
# unix charset = iso8859-1
# display charset = iso8859-1
# dos charset = cp850 
# 
# character set = ISO8859-15
# client code page = 850

but I haven't spotted the right combination, yet.

Any hint will be appreciated.
-- 
tnx & cheers
Oliver

[1]:
config file=/etc/samba/smb.conf
unix charset = CP850
dos charset = CP850
os level = 8
workgroup = 
server string = Linksys NSLU2.0
printcap name = /etc/printcap
load printers = no
max log size = 10
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384
SO_RCVBUF=16384
preferred master = yes
dns proxy = no
preserve case = yes
short preserve case = yes
default case = upper
case sensitive = no
mangled names = yes
null passwords = yes
dos filetimes = yes
veto files =
/.ShareConfFile/quota.user/quota.user~/lost+found/$*/System Volume
Information/
delete veto files = False
force directory mode=771
force create mode=660
create mask=771
map system=yes
map to guest=Bad User
guest account=guest
name resolve order = wins bcast
include = /etc/samba/user_smb.conf

[2]:
# sample samba 3.0 conf file
[global]
log level = 1
# CHANGE these settings to match your network/workgroup setup
# --
workgroup = 
server string = NSLU Network Drive
netbios name = Share
# your wins server ip address
wins server = 
# the networks you want to allow connections from
hosts allow = 
hosts deny = 0.0.0.0/0
# --
config file=/opt/etc/samba/smb.conf
local master = yes
username map =
bind interfaces only = yes
interfaces = ixp0 lo
winbind use default domain = no
unix charset = CP850
dos charset = CP850
os level = 8
printcap name = /etc/printcap
load printers = no
max log size = 10
security = user
encrypt passwords = yes
smb passwd file = /opt/etc/samba/smbpasswd
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384
SO_RCVBUF=16384
preferred master = no
dns proxy = no
preserve case = yes
short preserve case = yes
default case = upper
case sensitive = no
mangled names = yes
null passwords = yes
dos filetimes = yes
veto files =
/.ShareConfFile/quota.user/quota.user~/lost+found/$*/System Volume
Information/
delete veto files = False
force directory mode=771
force create mode=660
create mask=771
map system=yes
map to guest=Bad User
guest account=guest
guest ok = yes
name resolve order = wins bcast
include = /etc/samba/user_smb.conf

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


[Samba] [2.6 patch] smb is no onger maintained

2006-06-24 Thread Adrian Bunk
The smb filesystem in the Linux kernel is unmaintained for years.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

--- linux-2.6.17-mm1-full/MAINTAINERS.old   2006-06-22 00:55:48.0 
+0200
+++ linux-2.6.17-mm1-full/MAINTAINERS   2006-06-22 00:56:05.0 +0200
@@ -2591,13 +2591,6 @@
 W: http://www.winischhofer.at/linuxsisusbvga.shtml
 S: Maintained
 
-SMB FILESYSTEM
-P: Urban Widmark
-M: [EMAIL PROTECTED]
-W: http://samba.org/
-L: [EMAIL PROTECTED]
-S: Maintained
-
 SMC91x ETHERNET DRIVER
 P: Nicolas Pitre
 M: [EMAIL PROTECTED]

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


RE: [Samba] Second SAMBA Server different NETBIOS alias and shares for ClearCase

2006-06-24 Thread Kdeiss, Raymond E.
 
We might not have been clear in our question. I will try to explain what we
are trying to do.

We have a SAMBA Server (Solaris) utilizing an LDAP backend for user
authentication. The Samba server serves PCs for authentication and it serves
Samba filesystem shares. We want to be able to create a second samba server
(Solaris) that can be a member of the domain and also serves shares to PCs
and only serves shares to PC. The second SAMBA server does not need to be
responsible for PC logging / Authentication.

Is that possible and have can I make that second UNIX server a member of the
domain?

Thanks

Raymond Kdeiss


-Original Message-
From: Gary Dale [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 4:20 PM
To: Hoferer, Patrick K.
Cc: samba@lists.samba.org; Bailey, Alonza; Kdeiss, Raymond E.
Subject: Re: [Samba] Second SAMBA Server different NETBIOS alias and shares
for ClearCase

Hoferer, Patrick K. wrote:

>I have a SAMBA Server utilizing an LDAP backend for user authentication 
>and it works great unless I use ClearCase. When ClearCase is used the 
>compilation time for our code is slowed down to a crawl and the 
>ClearCase application is rendered nearly useless. As a test fix my boss 
>wants me to create a second SAMBA server to be used for only the 
>ClearCase server.
>
>I don't know if this will work, but I may be able to accomplish my task 
>if I set the "os level" lower than my primary SAMBA server set the SID 
>to the same as my existing server. I then change the "netbios alias" to 
>"clearcase". I'll then add my views and vobs through either NFS or SANS 
>client to the ClearCase SAMBA server. This way if a workstation using 
>ClearCase needs  to use the \\clearcase\views share it will utilize the 
>ClearCase SAMBA server not the primary server. All authentication 
>should remain through my LDAP server since I did not change the SIDs 
>for my server or user accounts.
>
>If this plan sound feasible please let me know. If it sounds like I may 
>break my existing architecture let me know. If you have better 
>suggestions I am looking for any help.
>
>Thank you for your time,
>Patrick Hoferer
>  
>
I don't think you're being very clear. In Windows terms, you log into a
domain, not a server. It sounds like you want to maintain the same
authentication but split an application off onto a different server to
improve performance. However, it's not clear if you want to use Samba or NFS
to share the files. I'm going to assume that the new server will be
providing file services through Samba.

If you want the ClearCase server to use the same authentication, just make
it a member server in your existing domain. Stop the ClearCase Samba shares
on the old server and start them on the new one.


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

[Samba] unknown UDP message

2006-06-24 Thread Jonathan DEL CAMPO /jdc/ .Y
Hi, 
I have some serious problem with my Samba server in production environment.
For information, I am running a samba 3.0.10-1.4E.2 under a kernel Linux
version 2.6.9-22 with a RHEL 3.4.4-2.

The problem is that I noticed in the log files the following errors :

smbd[25842]: [2006/06/14 11:25:07, 0]
smbd/oplock.c:request_oplock_break(1055)
smbd[25842]:   request_oplock_break: no response received to oplock break
request to pid 25225 on port 33355 for dev = 16, inode =
4720682, file_id = 2

Next ... 3 hours later another error appear :

smbd[25842]:   process_local_message: unknown UDP message command code
(8003) - ignoring.
smbd[25842]: [2006/06/14 15:00:40, 0]
smbd/oplock.c:process_local_message(441)

And this last one occured  more than 200 times per seconds during 4
seconds and pull the CPU  to 100 percent, with a smbd process at 99% :

25842 nobody25   0 12864 3740 3112 R 99.7  0.1  10053:47 smbd

By the way, since this time samba connections seems anormaly slow ...

So does anyone know something about this problem ? Is there a way to avoid
this ?

thanks

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


[Samba] Unable to modify passwd TDB!

2006-06-24 Thread sapierzynski
Hello,
Could you help me with samba 3.0.14-Debian and 3.0.21?
I have been searching the info. according to migration data between smbpasswd 
and tdbsam.
There are mistakes during process of migration.
"Unable to modify passwd TDB! Error: Record exists occured while storing the 
main record (USER_sdxhqt091$)"
What dose it stand for? 

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


[Samba] PDBEDIT policy

2006-06-24 Thread Daniel Martin

Hello all,

I tryied to use the disconnect time policy using NT usrmgr, but it 
didn't work. Does anyone have a clue?


Thanks


Using:
Debian 3.0
Kernel 2.4,27
Samba 3.0.22
Ldap 2.1.30-2

--
___
Atenciosamente,


Daniel Felipe Martin
GetNet - Tecnologia em Captura e Processamento de Transações
Infra-estrutura
Fone: +55 (51) 3598-9800 Fax: +55 (51) 3598-9801Ramal 2301
__

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


[Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem

2006-06-24 Thread Nir Barkan
Hi All,

 

I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8

configure works  fine but make fails

I am running configure with the option --with-krb5=/opt/local which is
where I have heimdal installed.  The problem is that after running make,
it still tries to use the include files from SUN that are in /usr/ and this
screws up the compile.
 
/opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context'
/usr/include/gssapi/gssapi.h:551: previous declaration of
`gss_inquire_context'
/opt/local/include/gssapi.h:632: conflicting types for `gss_wrap_size_limit'
/usr/include/gssapi/gssapi.h:560: previous declaration of
`gss_wrap_size_limit'
/opt/local/include/gssapi.h:646: conflicting types for `gss_add_cred'
/usr/include/gssapi/gssapi.h:574: previous declaration of `gss_add_cred'
/opt/local/include/gssapi.h:656: conflicting types for
`gss_inquire_cred_by_mech'
/usr/include/gssapi/gssapi.h:584: previous declaration of
`gss_inquire_cred_by_mech'
/opt/local/include/gssapi.h:662: conflicting types for
`gss_export_sec_context'
/usr/include/gssapi/gssapi.h:590: previous declaration of
`gss_export_sec_context'
/opt/local/include/gssapi.h:668: conflicting types for
`gss_import_sec_context'
/usr/include/gssapi/gssapi.h:596: previous declaration of
`gss_import_sec_context'
/opt/local/include/gssapi.h:698: conflicting types for
`gss_inquire_mechs_for_name'
/usr/include/gssapi/gssapi.h:626: previous declaration of
`gss_inquire_mechs_for_name'
/opt/local/include/gssapi.h:705: conflicting types for
`gss_canonicalize_name'
/usr/include/gssapi/gssapi.h:633: previous declaration of
`gss_canonicalize_name'
/opt/local/include/gssapi.h:711: conflicting types for `gss_duplicate_name'
/usr/include/gssapi/gssapi.h:639: previous declaration of
`gss_duplicate_name'
/opt/local/include/gssapi.h:730: conflicting types for `gss_sign'
/usr/include/gssapi/gssapi.h:677: previous declaration of `gss_sign'
/opt/local/include/gssapi.h:738: conflicting types for `gss_verify'
/usr/include/gssapi/gssapi.h:685: previous declaration of `gss_verify'
/opt/local/include/gssapi.h:748: conflicting types for `gss_seal'
/usr/include/gssapi/gssapi.h:695: previous declaration of `gss_seal'
/opt/local/include/gssapi.h:757: conflicting types for `gss_unseal'
/usr/include/gssapi/gssapi.h:704: previous declaration of `gss_unseal'
make: *** [dynconfig.o] Error 1
 
Any Ideas how to solve this?
 
Thanks In Advanced!
 
Nir

 

 

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


[Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem

2006-06-24 Thread Nir Barkan
Hi All,

 

I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8

configure works  fine but make fails

I am running configure with the option --with-krb5=/opt/local which is
where I have heimdal installed.  The problem is that after running make,
it still tries to use the include files from SUN that are in /usr/ and this
screws up the compile.
 
/opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context'
/usr/include/gssapi/gssapi.h:551: previous declaration of
`gss_inquire_context'
/opt/local/include/gssapi.h:632: conflicting types for `gss_wrap_size_limit'
/usr/include/gssapi/gssapi.h:560: previous declaration of
`gss_wrap_size_limit'
/opt/local/include/gssapi.h:646: conflicting types for `gss_add_cred'
/usr/include/gssapi/gssapi.h:574: previous declaration of `gss_add_cred'
/opt/local/include/gssapi.h:656: conflicting types for
`gss_inquire_cred_by_mech'
/usr/include/gssapi/gssapi.h:584: previous declaration of
`gss_inquire_cred_by_mech'
/opt/local/include/gssapi.h:662: conflicting types for
`gss_export_sec_context'
/usr/include/gssapi/gssapi.h:590: previous declaration of
`gss_export_sec_context'
/opt/local/include/gssapi.h:668: conflicting types for
`gss_import_sec_context'
/usr/include/gssapi/gssapi.h:596: previous declaration of
`gss_import_sec_context'
/opt/local/include/gssapi.h:698: conflicting types for
`gss_inquire_mechs_for_name'
/usr/include/gssapi/gssapi.h:626: previous declaration of
`gss_inquire_mechs_for_name'
/opt/local/include/gssapi.h:705: conflicting types for
`gss_canonicalize_name'
/usr/include/gssapi/gssapi.h:633: previous declaration of
`gss_canonicalize_name'
/opt/local/include/gssapi.h:711: conflicting types for `gss_duplicate_name'
/usr/include/gssapi/gssapi.h:639: previous declaration of
`gss_duplicate_name'
/opt/local/include/gssapi.h:730: conflicting types for `gss_sign'
/usr/include/gssapi/gssapi.h:677: previous declaration of `gss_sign'
/opt/local/include/gssapi.h:738: conflicting types for `gss_verify'
/usr/include/gssapi/gssapi.h:685: previous declaration of `gss_verify'
/opt/local/include/gssapi.h:748: conflicting types for `gss_seal'
/usr/include/gssapi/gssapi.h:695: previous declaration of `gss_seal'
/opt/local/include/gssapi.h:757: conflicting types for `gss_unseal'
/usr/include/gssapi/gssapi.h:704: previous declaration of `gss_unseal'
make: *** [dynconfig.o] Error 1
 
Any Ideas how to solve this?
 
Thanks In Advanced!
 
Nir

 

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


Re: [Samba] samba as a time server (newby question): time not updated

2006-06-24 Thread cknipe
Quoting Michael Wood <[EMAIL PROTECTED]>:

> Hi
> 
> On Tue, Jun 20, 2006 at 07:17:53PM +1000, Ivan Teliatnikov wrote:
> > Colleagues,
> > 
> > I am trying to use my PDC as a time server. 
> > 
> [snip]
> > What do I need to do to ensure that time is synchronised on XP client
> > when non-admin user logs into the machine.
> 
> Why don't you just set up an NTP server on your Samba server and
> then point all the WinXP boxes at it.  I think it's under "Time"
> in the control panel, or if you right-click on the time in the
> system tray.  By default it syncs off time.windows.com or
> something like that.
> 
> I am not a Windows person, so I don't know if you can do this
> via group policies or whatever.
> 

Policies - but the easiest is just changing the setting in the registry.  Don't
ask me where now, I'm to lazy to look - but it's in there, actually called ntp
as well *shock & horror*

--
C

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


Re: [Samba] Roaming profile error

2006-06-24 Thread Sensei


On Jun 24, 2006, at 04:13pm, Sensei wrote:

Hi everybody! I'm a samba rookie, and I'm trying to make my own  
roaming profiles.


The situation is simple, a single debian samba server and a single  
windows xp client, with the signorseal value set to 0. I have my  
unix users with their home directories in /home/username, and I'd  
like them to have a windows login. Right now I don't care about  
mixing unix and windows files.


My smb.conf is this [...]



I respond myself: I was missing the home sharing.

===BEGIN===
[global]
workgroup = WIN.EXAMPLE.EDU
netbios name = SMB1
server string = Samba Domain Master
security = user
encrypt passwords = yes
username map = /etc/samba/smbusers
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
add user script = /usr/sbin/useradd -m '%u'
domain logons = yes
preferred master = yes
local master = yes
inherit permissions = yes
inherit acls = yes

[netlogon]
comment = Samba Domain Login Service
path = /home/%U
valid users = %S
read only = no

[profiles]
comment = Users Profiles Service
path = /home/%U
valid users = %S
read only = no
guest ok = no
writable = yes
browsable = no

[homes]
comment = Users Home Directories
path = /home/%U
valid users = %S
read only = no
guest ok = no
writable = yes
browsable = yes
END



At the end of this quest, I've got 3 questions :)

The first is the same I asked in my post: is it possible to avoid  
using root into samba to join a domain?


The second is this: I'm getting the famous ``network name not found''  
sometimes when logging in and out with the same profile. Is there a  
way of avoiding this? It's not always, and I didn't play that much to  
recognize a pattern...


The last is about the notepad starting upon login. I solved by  
removing as MS says, so deleting the infamous Desktop.ini files from  
Default User and All Users. Do you recommend this practice before  
joining a domain?


Thanks!!


--
Sensei <[EMAIL PROTECTED]>

The optimist thinks this is the best of all possible worlds.
The pessimist fears it is true.  [J. Robert Oppenheimer]


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


[Samba] Roaming profile error

2006-06-24 Thread Sensei
Hi everybody! I'm a samba rookie, and I'm trying to make my own  
roaming profiles.


The situation is simple, a single debian samba server and a single  
windows xp client, with the signorseal value set to 0. I have my unix  
users with their home directories in /home/username, and I'd like  
them to have a windows login. Right now I don't care about mixing  
unix and windows files.


My smb.conf is this:

===BEGIN===
[global]
workgroup = WINEXAMPLE
netbios name = SMB1
server string = Samba Domain Master
security = user
encrypt passwords = yes
username map = /etc/samba/smbusers
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
logon drive = Z:
logon path = \\%L\profiles\%U
domain logons = yes
preferred master = yes
local master = yes

[netlogon]
comment = Samba Domain Login Service
path = /home/%U
valid users = %S
read only = no

[profiles]
comment = Users Profiles Service
path = /home
valid users = %S
read only = no
guest ok = no
writable = yes
profile acls = yes
END


I create Samba users with smbpasswd -a for root and for testuser. The  
testuser can read and write in his home. I can join the domain using  
root.



By the way, I tried to set a standard user ``admin'' as the  
administrator in /etc/samba/smbusers:


===BEGIN===
# Map admin to the Domain Administrator
admin = Administrator
END

But windows rejects to join the domain, just root works (of course  
admin exists on unix and samba). Can root be eliminated from samba  
configuration files and allow another user to join the domain?



I can log into windows, but it complains that the roaming profile  
cannot be accessed, and the login will create a temporary one, with  
the detail:


Access DENIED

Well, in the log files I find something that I don't understand,  
samba cannot find a service with the same name as my user:


===BEGIN===
[2006/06/24 15:42:39, 0] smbd/server.c:main(798)
  smbd version 3.0.14a-Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/06/24 15:42:59, 0] smbd/service.c:make_connection(794)
  client1 (193.204.161.3) couldn't find service testuser
[2006/06/24 15:43:00, 0] smbd/service.c:make_connection(794)
  client1 (193.204.161.3) couldn't find service testuser
[2006/06/24 15:48:16, 0] smbd/server.c:main(798)
  smbd version 3.0.14a-Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/06/24 15:48:33, 0] smbd/service.c:make_connection(794)
  client1 (193.204.161.3) couldn't find service testuser
[2006/06/24 15:48:34, 0] smbd/service.c:make_connection(794)
  client1 (193.204.161.3) couldn't find service testuser
END


What am I missing? I've tried some combinations:

[general]
logon path = \\%L\profiles\%U
[profiles]
path = /home


[general]
logon path = \\%L\profiles
[profiles]
path = /home/%U


But no success... Can anyone give me some hints?

Thanks!! :)

--
Sensei <[EMAIL PROTECTED]>

The optimist thinks this is the best of all possible worlds.
The pessimist fears it is true.  [J. Robert Oppenheimer]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba