[Samba] Source for latest Samba builds packaged for Ubuntu 10.04 Lucid

2011-05-12 Thread Michael Lueck

Greetings,

When Samba 3 first came out, I made use of the official Debian (Sarge) 
repository hosted at samba.org to get access to the very latest Samba builds.

Since switching to Ubuntu, I have sort of lost touch with latest Samba 
developments as I have not found an equivalent source for packages.

Currently I have a bug open against Samba on Ubuntu 10.04 Lucid:

Samba in Lucid upgrade killed Envelope Feeder on HP LJ4000 printer
https://bugs.launchpad.net/bugs/709188

So that raises the desire to search for a source for Ubuntu packages so I may evaluate higher versions of Samba. The upgrade from 9.04 to 10.04 introduced this bug. My thought is trying Samba higher 
than what 10.04 ships with might have resolved the problem.


Over the years I have heard of Ubuntu developers which host Samba repos in 
their PPA accounts. Is that the best source? If so, which one of the 
developers? A link please?

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Killed HP LJ4000 envelope feeder upgrading Ubuntu 9.04 -- 10.04 LTS

2011-01-04 Thread Michael Lueck

Greetings,

Already when the server was on Ubuntu 9.04, my Ubuntu workstation was having difficulties printing to the printer via a Samba connection. For example, Mozilla Thunderbird could print, but Firefox 
print jobs got lost to lala land. I found how to do a direct CUPS on the workstation to CUPS on the server connection, and that cleared all of the trouble up.


So I thought to see if I could to the same from Windows XP. Turns out MS calls that Internet Printing. So after the sample of my printer connection form my Linux machine, I made three connection to 
the CUPS queues, used the same drivers I recently re-published to Samba, and the Envelope Feeder again works properly.


This is very disappointing that, well I have been working with Samba since 
3.0.2 and printing works better in that ancient version than current versions.

I would think that Samba merely acts as a Spooler for Windows clients. 
Obviously not!

At least we have a cumbersome work-around to be able to get work done.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Killed HP LJ4000 envelope feeder upgrading Ubuntu 9.04 -- 10.04 LTS

2011-01-04 Thread Michael Lueck

Michael Lueck wrote:

So I thought to see if I could to the same from Windows XP. Turns out MS calls that 
Internet Printing...


And I have taken the time to blog this solution here:

HOW-TO: Connect Windows to a CUPS Network Printer
http://www.lueckdatasystems.com/HOW-TO_Connect_Windows_to_a_CUPS_Network_Printer

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] File Permissions 770 vs 760

2010-12-31 Thread Michael Lueck

Fred Legace wrote:

I am running Ubuntu 10.04 LTS Server.


snip


My problem is if I use create mode = 770, WinXP users can only manage a
760 permission setting. That will not allow someone else in the group to
set the file to readonly


Well, I just checked a couple of recently created files from a WinXP client 
machine on our Ubuntu 10.04 LTS server. Quite dismayed at what I find!

First off, this is our share:

[data]
   comment = Shared Application Data Files
   path = /srv/shares/data
   guest ok = no
   read only = no
   create mask = 0666
   directory mask = 0777

Wide open public dumping ground for data files! ;-)

New directory, no surprises:

drwxrwxrwx+  2 mdlueck mdlueck4096 2010-12-30 09:14 2010

New files, however...

-rwxrwxrwx+  1 klueck  klueck   226247 2010-12-30 15:16
-rw-rwxrw-+  1 klueck  klueck   379849 2010-12-30 15:16

No idea why ACL's are getting on the files.

No idea why new files end up totally / partially executable.

GREAT! :-(

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Killed HP LH4000 envelope feeder upgrading Ubuntu 9.04 -- 10.04 LTS

2010-12-30 Thread Michael Lueck

Greetings,

Some time ago I upgraded an Ubuntu 9.04 to 10.04 LTS. I am running the distro 
packages of Samba, currently 3.4.7~dfsg-1ubuntu3.2

The upgrades (I had to pass through 9.10 to get to 10.04, but stayed there only 
moments) killed the ability to use the envelope feeder on our HP LaserJet 4000 
printer.

This evening I decided to purge off all printer related files from our server, 
re-upload the drivers, etc... to see if that would help. It did not.

Steps to do the above:

1) Stop Samba

2) Backup files:
/var/lib/samba/ntdrivers.tdb
/var/lib/samba/ntprinters.tdb
/var/lib/samba/ntforms.tdb
/var/cache/samba/printing/printers.tdb
/var/cache/samba/printing/HPLJ4000-PS.tdb
/var/cache/samba/printing/HPLJ4000-PCL6.tdb
/var/cache/samba/printing/HPLJ4000-PCL5e.tdb
/srv/shares/print/* (dir that has the print share for drivers to be uploaded to)

3) Delete said files

4) Restart Samba

5) From a Windows XP Pro workstation, login to the domain with an ID that is a 
PrinterAdmin

6) Re-upload drivers

7) Check the check box in the driver for the Envelope feeder.
The check box would NOT stay checked in the PCL-5e or PCL 6 drivers.
The check box DID say checked in the PS driver.

8) Return to test workstation, reinstall the drivers overtop of the drivers 
already on the workstation (same version drivers as before, HP has not updated 
them recently)

9) Confirm that the PS driver DID have the Envelope Feeder selected

10) Try printing an envelope, printer LCD does indicate that it is going to 
print an envelope, however 8.5 x 11 paper is pulled in

Suggestions? TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] New PDC

2010-09-03 Thread Michael Lueck

Gregory A. Cain wrote:

The new PDC will be Samba 3.4.0 running on Ubuntu 9.10.


Odd you would choose to land at 9.10 as 10.04 is a LTS release.

I recently upgraded one server from 9.04 to 10.04, with the minor issue that 
during the 9.10 to 10.04 upgrade winbind ended up getting added.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Samba 3.4.7 in Ubuntu 10.04 and WinBindd

2010-08-26 Thread Michael Lueck

Perhaps I did not ask my question in the correct syntax... let's try again.

Now I am suspecting that WinBindd that is a part of the Samba 3.4.7 packages / 
Ubuntu 10.04 is causing a couple of minutes of login delays after the server 
boots up.

Since I do not remember ever running WinBindd before, and since it seems to be 
causing troubles, what is the correct way to disable WinBindd until such a time 
I need to use it?



About the login troubles, in case it is NOT WinBindd related:

I am able to start login in via console / ssh, enter my ID/pw, and then the 
session HANGS.

I configured a script to dump a ps aux output to a date-time stamped log 
file. The server fully booted - snapshot - the login completed - another snapshot.

In the first snapshot, I do not see winbindd process in the list, in the second 
snapshot I do.

Also no Samba shares may be successfully accessed while the login hang 
persists. After the server allows logins via console / ssh, Samba shares are accessible.

Suggestion? Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Samba 3.4.7 in Ubuntu 10.04 and WinBindd

2010-08-26 Thread Michael Lueck

Greetings Dale-

Dale Schroeder wrote:

 As I recall, winbind has only 2 uses.
1. Quick and easy way to authenticate as a member server in a Windows or 
Samba domain..

2. On a Samba pdc when creating an interdomain trust.

If neither of these apply, you can test your theory with apt-get remove 
winbind.

Or use the package manager in Ubuntu to remove it.


All right, feeling daring...

$ sudo dpkg -P winbind

IPL

Logs in BEAUTIFULLY at the console / ssh / Samba right after the server boots 
up. Bravo!

Must be that the 9.10 to 10.04 upgrade added that package or something?! (shrug)

Thanks very much!

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Samba 3.4.7 in Ubuntu 10.04 and WinBindd

2010-08-18 Thread Michael Lueck

Greetings-

I have sort of fallen out of the loop with major milestones in the Samba 
project... I was really up on Samba back in the 3.0.x days.

Used to be, a Samba PDC would only run smbd and nmbd tasks. Now I see winbindd 
tasks as well. I peeked in its log and it does not seem too happy.

[2010/08/18 09:20:14,  0] winbindd/winbindd.c:1252(main)
  winbindd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/08/18 09:20:14,  0] 
winbindd/winbindd_cache.c:2578(initialize_winbindd_cache)
  initialize_winbindd_cache: clearing cache and re-creating with version number 
1
[2010/08/18 09:20:59,  1] lib/util_tdb.c:521(tdb_wrap_log)
  tdb(/var/run/samba/mutex.tdb): tdb_lock failed on list 127 ltype=1 
(Interrupted system call)
[2010/08/18 09:20:59,  0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key LDSLNX01 in 
tdb /var/run/samba/mutex.tdb
[2010/08/18 09:20:59,  1] lib/server_mutex.c:71(grab_named_mutex)
  Could not get the lock for LDSLNX01
[2010/08/18 09:20:59,  0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for LDSLNX01
[2010/08/18 09:22:02,  0] libsmb/namequery.c:75(saf_store)
  saf_store: refusing to store 0 length domain or servername!
[2010/08/18 09:22:02,  1] winbindd/winbindd_cm.c:977(cm_prepare_connection)
  failed tcon_X with NT_STATUS_END_OF_FILE
[2010/08/18 09:23:04,  0] libsmb/namequery.c:75(saf_store)
  saf_store: refusing to store 0 length domain or servername!
[2010/08/18 09:23:04,  1] winbindd/winbindd_cm.c:977(cm_prepare_connection)
  failed tcon_X with NT_STATUS_END_OF_FILE
[2010/08/18 09:24:14,  1] lib/util_tdb.c:521(tdb_wrap_log)
  tdb(/var/run/samba/mutex.tdb): tdb_lock failed on list 127 ltype=1 
(Interrupted system call)
[2010/08/18 09:24:14,  0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key LDSLNX01 in 
tdb /var/run/samba/mutex.tdb
[2010/08/18 09:24:14,  1] lib/server_mutex.c:71(grab_named_mutex)
  Could not get the lock for LDSLNX01
[2010/08/18 09:24:14,  0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for LDSLNX01
[2010/08/18 09:24:57,  1] lib/util_tdb.c:521(tdb_wrap_log)
  tdb(/var/run/samba/mutex.tdb): tdb_lock failed on list 127 ltype=1 
(Interrupted system call)
[2010/08/18 09:24:57,  0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key LDSLNX01 in 
tdb /var/run/samba/mutex.tdb
[2010/08/18 09:24:57,  1] lib/server_mutex.c:71(grab_named_mutex)
  Could not get the lock for LDSLNX01
[2010/08/18 09:24:57,  0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for LDSLNX01
[2010/08/18 09:25:47,  0] libsmb/namequery.c:75(saf_store)
  saf_store: refusing to store 0 length domain or servername!
[2010/08/18 09:25:47,  1] 
rpc_client/cli_pipe.c:949(cli_pipe_validate_current_pdu)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from host LDSLNX01!
[2010/08/18 09:25:47,  0] 
winbindd/winbindd_dual.c:186(async_request_timeout_handler)
  async_request_timeout_handler: child pid 1166 is not responding. Closing 
connection to it.
[2010/08/18 09:25:47,  1] winbindd/winbindd_util.c:303(trustdom_recv)
  Could not receive trustdoms

Specifically:
Could not get the lock for LDSLNX01
failed tcon_X with NT_STATUS_END_OF_FILE
Could not receive trustdoms

Is this normal? Does this mean that by upgrading all the way from Samba 3.0.14a on Debian to 3.3.2 on Ubuntu 9.04, and now with the jump to 3.4.7 on Ubuntu 10.04, is there some setup steps that never 
got done?


Our environment is Samba PDC with a mix of Linux and Window workstations. No 
Windows servers, no AD, etc...

TIA!

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Samba 3.4.7 in Ubuntu 10.04 and WinBindd

2010-08-18 Thread Michael Lueck

Michael Lueck wrote:
Is this normal? Does this mean that by upgrading all the way from Samba 
3.0.14a on Debian


So much for my memory! Seems we were coming from 3.0.26a-1 on Debian Sarge, To 
Ubuntu 9.04, and now all the way up to 3.4.7 on Ubuntu 10.04.

My apologies.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-16 Thread Michael Lueck

Felix Miata wrote:

On 2010/03/15 21:20 (GMT-0400) Michael Lueck composed:


Interesting... I do use OS/2 on occasion, I have neither of those in my 
smb.conf, and it worked while on the Debian Sarge / 2.0.26a configuration.



That's pretty far back, long before cifs displaced smbfs as client.


Typo... 3.0.26a, not 2.x! ;-) So not SO bad!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-16 Thread Michael Lueck

Günter Kukkukk wrote:


Some additions/clarifications,


Thanks much! Saved to my KB!

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-15 Thread Michael Lueck

Greetings-

Since the last time I tried to connect a Win98 client PC to our Samba PDC I upgraded the PDC from Debian Sarge and Samba 3.0.26a-1 from samba.org to an Ubuntu 9.04 server running Samba 3.3.2 from 
Ubuntu. I was able to port the smb.conf to the new server only changing the join domain script to account for Debian/Ubuntu differences to that one line.


I think I recall correctly the steps to connect Win98 to Samba, but it is not 
authenticating.

I checked the box to log into a NT domain, and filled in the domain name.

I also filled in the same domain name to the workgroup field on the next tab from 
where I saw the NT domain name question. (Sorry, do not have the screen in front of 
me.)

I do not recall it being more complicated than that.

Once Win98 was rebooted, it comes up with a domain style login screen, and will 
not accept my password.

The accounts are known good - I can log in from Windows XP / 2000 and Linux 
computers just fine.

I see log files for this Win98 client showing up - both a IP addy named log and 
a hostname named log, both are zero (0) length.

Possibly did I forget a critical detail somewhere?

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-15 Thread Michael Lueck

Volker Lendecke wrote:

On Mon, Mar 15, 2010 at 03:14:47PM -0400, Gaiseric Vandal wrote:

I think you have to set

encrypt passwords = false


No, please NEVER use this one :-)


I would not! ;-)


 lanman auth = true


That might be required.


Tried, did not make a difference.

I guess I will crank up the Samba logging level. (shrug)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-15 Thread Michael Lueck

Michael Lueck wrote:

Volker Lendecke wrote:

On Mon, Mar 15, 2010 at 03:14:47PM -0400, Gaiseric Vandal wrote:



 lanman auth = true


That might be required.


Tried, did not make a difference.

I guess I will crank up the Samba logging level. (shrug)


As soon as I cranked the logging up to 10, Win98 connected in just great.

Suspicious I set logging back to 1, still logged in.

I commented out the lanman auth = true line and Win98 could not log in.

I put it back in, and Win98 again works.

(shrug) Problem solved with that one line after all. Thanks very much! :-)

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Trouble connecting to Samba 3.3.2 on Ubuntu from Win98

2010-03-15 Thread Michael Lueck

Felix Miata wrote:

OS/2 takes that plus two more:

client lanman auth = [Yes,True]
client plaintext auth = [Yes,True]


Interesting... I do use OS/2 on occasion, I have neither of those in my 
smb.conf, and it worked while on the Debian Sarge / 2.0.26a configuration.

I have not tried since migrating, so perhaps I will get bit when I do, so 
thanks in advance! ;-)

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Ubuntu packaging vs Debian packaging

2010-01-16 Thread Michael Lueck

Christian PERRIER wrote:

Samba packages in Ubuntu are directly derived from Debian
packages. So, telling that Debian packages are bad while Ubuntu
packages are good is justsilly. They're basically the same..:-)


When Etch originally shipped, the Samba packages maintainers for Debian 
acknowledged that the state of Samba was less perfect than they desired.

After the conference, for which I ended up using an Ubuntu server to present 
on, I again tested Etch (another clean load) and by that time the Samba 
packages were working properly.

Just that the OP on this thread sounded very much like the reason I ended up switching 
from Debian to Ubuntu. Thus my comment... and the rest is history...

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Given up on Fedora Ubuntu is 1000-folder simpler

2010-01-14 Thread Michael Lueck

Peter Olcott wrote:

I decided to try
Ubuntu. After intallation it took only five minutes of editing the smb.conf
file to make my share fully operational.


:-)

I had been hearing good things about Ubuntu, however I was firmly in the Debian 
camp.

When Etch came out, the Samba packages were so bad that I ended up trying 
Ubuntu (7.04). It worked great!

Now I am a Ubuntu fan, no going back to Debian.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Syntax to mount.cifs the $Home share?

2010-01-13 Thread Michael Lueck

The man page for mount.cifs does not appear to indicate the correct syntax to 
use in order to mound the $Home share to a directory on the local Linux 
workstation.

I would like to mount it to somewhere besides /home/userid, so perhaps 
following the standards I set, /mnt/servername/userid

Suggestions appreciated. Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Syntax to mount.cifs the $Home share?

2010-01-13 Thread Michael Lueck

Michael Lueck wrote:
The man page for mount.cifs does not appear to indicate the correct 
syntax to use in order to mound the $Home share to a directory on the 
local Linux workstation.


I would like to mount it to somewhere besides /home/userid, so perhaps 
following the standards I set, /mnt/servername/userid


Suggestions appreciated. Thanks!


Solved this question myself.

Answer is, the share name is the same as the UID in question. No trailing $ on 
the UID eihter.

So for an ID of FOO, simply mount.cifs to //server/foo and that works as 
desired.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Samba PDC upgrade / hardware replacement results

2009-10-17 Thread Michael Lueck

Greetings-

I am very pleased to report that the Samba upgrade went very well! The old server was running Debian Sarge w/ Samba 3.0.26a-1 and the new server is built on Ubuntu Server 9.04 and official Ubuntu 
builds of Samba packages.


The Samba server started right up with the exact smb.conf from the old server. Impressive that with all of the work done by the Samba team, not even a warning or note of deprecated something in the 
configuration! :-)


Thank you specifically to John, Eero, Zoolook, and Harry for replies regarding 
moving the Windows machine accounts to the new server! :-)

We use XFS filesystem, thus xfsdump / xfsrestore. All permissions / ownership 
survived beautifully.

Shortly I am thinking to power down the old server... One last check, sniff 
sniff for all of the memories of the old box.

Thanks once again!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-06 Thread Michael Lueck

Greetings Harry-

Thank you for your continued assistance!

Harry Jede wrote:

On Dienstag, 6. Oktober 2009 wrote Michael Lueck:

For Samba users (real actual users) there is an entry in passwd and
group. I would think I can use adduser to set those up, and edit the
uid/gid # to match.


If you need to edit uid/gid, do not forget to change the uid/gid in your 
filesystems. Do it separately for uid and gid. It is more safe.


I was thinking to create the new uid/gid entries before I restore files from 
the backup.

Thus since ID's are created, made to look the same as the old server, I would 
think files/dirs would restore properly, including ownership. No?



Do you see any problems with this course of action?
Yes. The samba passwords (lm and nt hashes) are stored in a separate 
file. I am sure you will not change the paswords. But  be sure, that 
you do not loose the logical connection with both storage areas 
(passwd/shadow and smbpasswd).


So what is the proper way to create the machine accounts for the Windows 
boxes?

Shall I simply copy/paste the existing entries in passwd/shaow and smbpasswd 
and do not concern myself copying the password hash from non-login ID's on the 
new server (shadow file)?

Or... ???

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-06 Thread Michael Lueck

John Drescher wrote:


Every time I have created a new PDC (in the last decade) I have just
mirrored the LDAP and did not mess with new incompatible uids/gids


BUT I DO NOT HAVE LDAP in the configuration. aaakkk!!!

Let me guess... Have solutions of how to rebuild PDC's if I had LDAP, but since I 
don't, then no solutions.

I have decided for now to keep the Samba PDC's as simple as possible. 
/etc/passwd, /etc/group, and the plain text smbpasswd.

(sigh...)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Fwd: How to bulk add machine accounts during PDC hardware refresh?

2009-10-06 Thread Michael Lueck

John Drescher wrote:

I know. Just copy the files

/etc/passwd /etc/group

and  the folders

/etc/samba
/var/lib/samba
/var/spool/samba
/var/cache/samba


So do not mess with the password hashes for machine accounts in /etc/passwd 
since that hashed password has to match the password in smbpasswd?

If so, fffeeewww, now the task sounds doable! ;-)

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-05 Thread Michael Lueck

Greetings-

I have not found discussed / documented what to do with machine accounts when 
moving a Samba PDC to new hardware.

I have seen that uid/gid numbers must match between the old/new system. I am 
thinking to use adduser to accomplish that, then make the numbers on the new 
server match, using a text editor.

After that, can I simply enter the machine account entries by hand with a text 
editor?

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-05 Thread Michael Lueck

John Drescher wrote:

I would not remove the old entries. If you are using ldap replicate
the openldap first. If you are using tdbsam copy the /var/lib/samba
folder.


Sorry, I forgot to mention that no LDAP or anything fancy is involved. So 
Samba has made entries in /etc/passwd and /etc/group, and that is what I am interested in 
moving properly.

remove the old entries... ??? I am trying to set up an identical PDC on new 
hardware.

I understand that uid/gid numbers must match, so thinking to use adduser to get 
them added, then edit the files to keep the numbers matching between the 
old/new PDC.

But then, what to do about those entries in those two files that are for 
workstations? Can I simply copy/paste from the files on the existing PDC the 
entries for the machine accounts?

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-05 Thread Michael Lueck

Eero Volotinen wrote:


just copy and paste entries to /etc/passwd and /etc/group ?


That is what I was thinking to do... just wanted to be sure that such would actually work... that I did not need to actually execute adduser and have it create the entries as it also knows to update 
some other place that I was not thinking of.


Perhaps years of OS/2 and Windows bleeding through... ;-)

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] How to bulk add machine accounts during PDC hardware refresh?

2009-10-05 Thread Michael Lueck

Harry Jede wrote:

You need passwd AND shadow for the users, but normaly NOT the hole file.
The system accounts may be different on your new system, so identify the 
min and max uidnumber for regular users and copy only these users. Do 
the same with the shadow file. AND make backups.


Same thing with groups. Identify your min and max gidnumber and copy 
only these groups.


Maybe you need to transform some uid/gid-numbers :-) .


Thanks for speaking up, Harry! :-)

For Samba users (real actual users) there is an entry in passwd and group. I 
would think I can use adduser to set those up, and edit the uid/gid # to match.

For Samba machine users, there seems to be only an entry in passwd, and shadow of course. The password hash appears to be the same hash as other ID's which no one ever logs into. So I would think I 
would be safe hand editing both passwd and shadow to add the machine accounts, and simply copy/paste the password hash that is appropriate for the new server.


Do you see any problems with this course of action?

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Windows XP SP3 and Samba 3.0.26a-1

2009-01-21 Thread Michael Lueck

Greetings Louis-
Im running debian etch with samba 3.0.26a 
and about 15 XP SP3 pc's and 60 XP SP2 pc's

ldap backend and this setup is running for 4 years now
no problems here... 


Thanks for the prompt reply. Very much appreciated.

Glad I do not need to consider upgrading these Samba PDC's at this time just to 
deal with XP SP3.

Sincerely,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Windows XP SP3 and Samba 3.0.26a-1

2009-01-20 Thread Michael Lueck

Greetings-

I have several Debian Sarge boxes running Samba 3.0.26a-1 from samba.org 
installed.

Are there any known observations using XP Pro SP3 with that level of Samba?

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Sending / Receiving WinPopup on Ubuntu Linux Workstation

2008-10-24 Thread Michael Lueck

Sébastien Prud'homme wrote:

If you want so send popup, you need samba clients binaries 


Check, Linus workstations are installed with smbclinet, libsmbclient, smbfs.


and if you want to receive popup you need to be a samba workstation


Which are the packages to be a Samba Workstation...


so i don't know how not to install samba to do what you want.


 Possibly did you mean that the samba server package is the one with 
listeners to receive the incoming WinPopup messages?

If so, sigh, then how much of the smb.conf needs to be populated? Does anyone 
have a minimal smb.conf that is **just enough** to receive WinPopup messages?

Like I assume everything related to nmbd can be skipped, and that process does 
not even need to be running, etc...

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Sending / Receiving WinPopup on Ubuntu Linux Workstation

2008-10-23 Thread Michael Lueck

Greetings-

Perhaps slightly OT, but still involving the SMB/CIFS protocol:

I am searching for an application which would allow a Linux client (Ubuntu) to 
send/receive WinPopup messages.

The only one I have located thus far is LinPopup. However, it depends on the 
Samba (server) package. I do not want to deploy a bazillion Samba servers!

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: printer drivers - Add Printer Wizard disabled

2008-05-27 Thread Michael Lueck

Michael Heydon wrote:

 From the smb.conf man page:
 printer admin (S)


Correct. I cover printing via CUPS / Samba from Windows clients in my 
presentation:

Samba 3 PDC for Windows Clients and Samba 3 Book Review
http://www.lueckdatasystems.com/pub/presentations/iccm2007.pdf
PDF page 21

Samba, as far as I know, does not automatically make Domain Admins 
SePrintOperatorPrivilege's, so I specifically link Domain Admins to 
SePrintOperatorPrivilege.

Note: Also it is necessary to have the [print$] share set up properly as a 
repository for the drivers to be uploaded to.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: printer drivers - Add Printer Wizard disabled

2008-05-27 Thread Michael Lueck

Oh, one other note... You will have to log on to the domain as a userid with 
Printer Admin permissions.

For some reason after re-reading the OP's question, I am not certain they are 
doing that.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Recovering Windows computer account string

2008-03-24 Thread Michael Lueck

Doug VanLeuven wrote:

What you're fighting with the snapshots is the windows machine changes
the password every 7-30 days depending on the version  service pack.
So depending on the timing, a reverted snapshot won't work anymore.
Depending on the timing, every snapshot could have a different password.


So THAT is what happened! I best scurry around to various VM's and set that 
key... after first looking up docs about that key.

Thanks for that insight!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Recovering Windows computer account string

2008-03-23 Thread Michael Lueck

Greetings-

We utilize the smbpasswd text file back end. One machine (VM machine) suddenly thinks its entry in the Samba PDC's smbpasswd file is no longer correct. Is there a way to fetch that number back out of 
a Windows 2000 workstation and paste it into the smbpasswd file to re-trust the workstation?


Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Recovering Windows computer account string

2008-03-23 Thread Michael Lueck

Rich West wrote:
It might be easier to remove the system from the domain and re-add it to 
the domain...


Except I have several copies of this VM saved, so rejoining one fixes one VM 
only.

If it is troublesome to extract the string from Windows, then I will junk all 
of the snapshots and start over.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Linux clients, force * mode

2008-02-27 Thread Michael Lueck

pbowers wrote:

To get force create mode and force directory mode to work with cifs
clients try setting unix extensions = no in your smb.conf.  It worked for
me.


(chuckle) Just came to report to this list the solution that was finally found.

Indeed, unix extensions = no seems to be the correct answer. That line goes 
in the server smb.conf, not the client.

uid/gid's now seem in sync. When a particular workstation ID creates a 
dir/file, it shows up on the server's filesystem as the owner even though the 
uid/gid numbers do not match between client / server.

All of the force * mode lines were not necessary and were able to be removed. Running with the unix extensions disabled the same * mask lines that work for Windows clients perform equally well for 
Linux clients.


The one thing I did notice, and it is related to perms, is newly created dirs/files show up on the client with 644/755 perms even though on the server file system they are actually 666/777. Seems the 
client is rather insistent about the perms. Since it seems cosmetic at best, I can put up with it.


So for now, cifs and the unix extensions being enabled goes as a later task.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: cifs verses smbfs for Linux clients

2008-02-19 Thread Michael Lueck

Lukasz Szybalski wrote:

That is actually a good point because today I wanted to switch to cifs
on all my mount scripts for work and I got:

sudo mount -t cifs -o uid=lucas -o username=myusername
//192.168.1.196/c$ /home/lucas/Desktop/C

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


Your two -o options seem a bit odd to me. Are you certain that is correct 
syntax?

I am not seeing a username= option listed in my man mount.cifs output either.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: cifs verses smbfs for Linux clients

2008-02-19 Thread Michael Lueck

Lukasz Szybalski wrote:

Finally after searching for another 30min I found one example in which
domain option was added.
You need to add a domain option!


That particular node making the cifs connection, what was that node's domain 
setting in its /etc/samba/smb.conf?

On Linux client boxes, the only change I make to smb.conf is setting the domain 
name to the correct domain name.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Linux clients, force * mode

2008-02-19 Thread Michael Lueck

Someone on this list suggested looking at force * mode to make Linux clients 
connecting to Samba servers create dirs/files with certain permissions.

I attempted it yesterday, and had to quickly comment out the added lines as 
both Windows and Linux clients could not connect to shares at all!

Today I started with uncommenting the lines on one share. I could still connect with both Windows and Linux. That seemed odd so I uncommented all lines I added yesterday, and both Windows and Linux 
clients can connect and access files.


However, force * mode* entries do not seem to take affect.

Following is the initial share I am testing with:

[data]
   comment = Shared Application Data Files
   path = /srv/shares/data
   guest ok = no
   read only = no
   create mask = 0666
   directory mask = 0777
   force create mode = 0666
   force directory mode = 0777

And I use this command to connect to share from a Ubuntu 7.04 workstation:

/bin/mount -t cifs -o 
credentials=/home/mdlueck/.smbcredentials,uid=mdlueck,gid=mdlueck 
//ldslnx01/data /mnt/ldslnx01/data/

With a Windows 2000 computer connected to the domain, I can make dirs on the 
data share resulting in 0777 perms, and files resulting in 0666 perms.

With Linux I end up with 0755 perms on the dir, and I am unable to create files 
in the dir.



Someone made this comment to my problem:

The create mask bit-wise removes the bits from the permissions.  So a
create mask of 777 will effectively remove ALL permissions from the
file.

I am seeing correct permission on files/dirs created by the Windows 2000 
workstation. Dirs end up 0777, files end up 0666. So certainly no creating 
files with all permissions removed.

Could someone please shed light on this?

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using `mount -t cifs`

2008-02-18 Thread Michael Lueck

Michael Lueck wrote:

Could you elaborate on what exactly you are suggesting to do?


I did some digging since I asked that and discovered the following lines for 
smb.conf shares:

[data]
   comment = Shared Application Data Files
   path = /srv/shares/data
   guest ok = no
   read only = no
   create mask = 0666
   directory mask = 0777
   force create mode = 0666
   force directory mode = 0777

The last two lines are the new ones.

With these lines in place, I am not able to connect to shares from Windows or 
Linux clients, so I have commented them out again.

Why did that happen with the addition of those lines?

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] cifs verses smbfs for Linux clients

2008-02-18 Thread Michael Lueck

I am somewhat confused...

I understand that the preferred method to mount a Samba share with a Linux client is to use 
mount -t cifs rather than mount -t smbfs.

I get the impression that smbfs is samba.org developed code where as cifs is 
from elsewhere. Thus the point of confusion. Why is samba.org not developing 
the preferred code in this case?

A sub question to that main one is a nagging thought of needing to add the Debian / Ubuntu smbfs package to Linux client systems issuing mount -t cifs. If cifs really is from elsewhere, and smbfs is 
bad evil, why the interdependency?


Thanks!
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: cifs verses smbfs for Linux clients

2008-02-18 Thread Michael Lueck

Volker Lendecke wrote:

The problem is -- where would you host smbmount if we
removed it from the samba release?


hhhmmm, I see smbmount is indeed a file in the smbfs package.

So smbmount is relied on by cifs? In that case I can see the need to install smbfs in 
order to be able to mount -t cifs.

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: cifs verses smbfs for Linux clients

2008-02-18 Thread Michael Lueck

simo wrote:


There is no interdependency at all, when compiling samba you can choose
to build either or both helpers, it is a packaging choice. Most
distributions are slowly killing smbfs and stopping building the
smbmount helper in the samba packages.


I unmounted all cifs connections, then I purged the smbfs package off of my 
Ubuntu 7.04 desktop.

I tried mounting connections:

/bin/mount -t cifs -o 
credentials=/home/mdlueck/.smbcredentials,uid=mdlueck,gid=mdlueck 
//ldslnx01/data /mnt/ldslnx01/data/

And received this type of error:

mount: wrong fs type, bad option, bad superblock on //ldslnx01/data,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

Thus, the dependency I was referring to. I do not like to be one to argue. 
(shrug)

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: cifs verses smbfs for Linux clients

2008-02-18 Thread Michael Lueck

simo wrote:

Ask Ubuntu maintainers, they decided to package both helpers in the same
packet, so if you remove one, you remove the other too.


both helpers in the same package is a sufficient answer to my question. (Yes, 
finally, light bulb goes on!)

I am certainly not going to nit-pick how the Ubuntu packagers decided to do 
things, just was trying to fully understand these things.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck

Chris Smith wrote:
In the sense that it would invoke the deprecated mount -t smbfs 
instead of mount -t cifs, but I wouldn't recommend it. 


Aaahhh, so smbclient from the Samba developers is hard coded to not use current 
smb protocol code? Confusing!

So mount -t cifs would be the most correct way to make a connection?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck

Scott Lovenberg wrote:
Drats, it looks like you're setup fine.  I was hoping it would just be a 
bad configuration.  I don't know what else it could be.


Thanks for at least checking everything is configured correctly.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck

Chris Smith wrote:
Smbclient is new to the conversation, which until now has been about 
smbmount which


My error. Yes, I meant smbmount and not smbclient.


So mount -t cifs would be the most correct way to make a
connection?


It is considered the best way under the vast majority of circumstances 
to mount an smb share.


Very well then, I will stick with my current syntax.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Wrong perms on new files/dirs using `mount -t cifs`

2008-02-14 Thread Michael Lueck

My original thread had the incorrect subject line. The original trouble / 
question remains open and unsolved.

Greetings-

I am working through coming up with a Linux client integration to Samba PDC's.

I mount several shares with this sort of syntax:
/bin/mount -t cifs -o 
credentials=/home/userid/.smbcredentials,uid=userid,gid=userid,dmask=0777,fmask=0666
 //ldslnx01/data /mnt/ldslnx01/data/

However when I create new files/dirs on the Samba share from the Linux 
workstation, the perms are not 0666/0777 as I have specified.

Historically I set those perms on the share, and that has always worked with 
Windows clients.

I added that bit to the mount command, but it made no difference.

I believe I end up with 0755/0644, but do not hold me to that as I have simply 
verified it is not correct and that is all the checking I have done.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using `mount -t cifs`

2008-02-14 Thread Michael Lueck

Michael Heydon wrote:
Historically I set those perms on the share, and that has always 
worked with Windows clients.


Windows does not use unix style permissions, it has no equivilant to the 
fmask/dmask settings.


I understood that defined on the share, that is the way to specify what the 
permissions on new files/dirs will be, and it certainly seems to work that way 
when dealing with Windows clients.

Thus I assumed that a Linux client would work equally well. However I found out 
otherwise...

If you want to change 
this, you can still use force * mode settings on the server, or you can 
disable unix extensions and use the *_mode options to mount.cifs to 
mimick the old behavior.


I think I would prefer the force * mode method rather than disabling anything 
at this point.

Could you elaborate on what exactly you are suggesting to do?

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck

Greetings-

I am working through coming up with a Linux client integration to Samba PDC's.

I mount several shares with this sort of syntax:
/bin/mount -t cifs -o 
credentials=/home/userid/.smbcredentials,uid=userid,gid=userid,dmask=0777,fmask=0666
 //ldslnx01/data /mnt/ldslnx01/data/

However when I create new files/dirs on the Samba share from the Linux 
workstation, the perms are not 0666/0777 as I have specified.

Historically I set those perms on the share, and that has always worked with 
Windows clients.

I added that bit to the mount command, but it made no difference.

I believe I end up with 0755/0644, but do not hold me to that as I have simply 
verified it is not correct and that is all the checking I have done.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck

Scott Lovenberg wrote:
Could 
it be that '/' is mounted with an explicit permission setting that is 
shadowing your mount settings?


I do not think so, but have a look. This share happens to be on the /srv 
partition.
/dev/sda1   /   xfs defaults0   1
/dev/sda9   /srvxfs defaults0   2

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck

Chris Smith wrote:

On Wednesday 13 February 2008, Michael Lueck wrote:

I mount several shares with this sort of syntax:
/bin/mount -t cifs


Subject line is misleading: smbmount != cifs.


I get the idea from man smbmount that smbmount is merely a wrapper invoking 
mount -t cifs.

Would you expect different results if I were using the smbmount binary instead? 
If so, I would gladly test that method.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck

Scott Lovenberg wrote:
What are the samba server side settings(smb.conf) for the share you are 
mounting?


[data]
   comment = Shared Application Data Files
   path = /srv/shares/data
   guest ok = no
   read only = no
   create mask = 0666
   directory mask = 0777


Do you have inherit permissions set?
from smb.conf(5) man page:
  Default: inherit permissions = no


I set inherit acls = yes once for an ACL aware implementation for a client. 
Otherwise no specific acl/perm stuff at this time.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Re: Samba Administrator account for XP

2008-01-31 Thread Michael Lueck

satish patel wrote:

Dear thanx for cordinate wid me

I send my  example files what i going to tell when i 
configure samba without LDAP then i am able to login in XP machine with 
root with full privileges at that time my root user group of Domain 
Admin Group ok.


When you configure Samba without LDAP, then I think group mappings would end up 
referring to file:
/var/lib/samba/group_mapping.tdb

While configured as LDAP as the back end, it is necessary to map domain groups 
to local workstation groups, which can be done via:
net groupmap add ...
commands as illustrated on page 8 of the presentation I referred to. Otherwise 
you will only have the default information pre-populated when you prep the LDAP 
server for use with Samba.

Thus I can understand why you get different results when you change database 
back-ends.

Have you yet checked ifmember.exe /list and have it show what groups your 
test ID is actually a member of?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Re: Samba Administrator account for XP

2008-01-30 Thread Michael Lueck

satish patel wrote:

i have created root 
account and map root account with Administrator /etc/samba/smbuser file 


I have never heard of such a file...

 i have created root account

I have specifically avoided creating an account named root. Since Ubuntu which 
we are now using uses a sudo environment, seems a wise decision way back when.

Still, I do not think that alone is your source of trouble.

and root UID=0 and memeber of Domain Admin group. but still when i am 
login in XP client machine with root user in samba Domain i  dont have 
much privielges on XP machine even i can not change my XP client  
machine System Time 


Did you get a copy of ifmember.exe and run it with the /list option to see which local and domain groups you are a member of? What did it return? Are you a member of the local Administrators group or 
not? (Sounds like not.)


satish patel wrote:
 dear your URL PDF is damage so that could not open properly

Works fine for us with both Linux and Windows and the Acrobat / Firefox for 
those platforms.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Samba Administrator account for XP

2008-01-29 Thread Michael Lueck

satish patel wrote:

Dear all

  I have install samba + ldap and it is successfully joing the 
domain but problem is when i login in XP machine with Administrator account of 
samba i cannot change anything in XP even not system time so is it problem of 
privileges ??


Get a copy of MS's ifmember.exe and issue it with the /list switch while logged into Windows with a domain account. That will show you which groups you are a member of on the domain and local 
workstation. Likely you have something amiss in the group mapping area.


I cover that sort of thing in my Samba presentation:
Samba 3 PDC for Windows Clients and Samba 3 Book Review
http://www.lueckdatasystems.com/pub/presentations/iccm2007.pdf

Start on page 7 of the presentation. I do not use LDAP in this presentation, so 
the EXACT solution will be different in your case.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Official Samba builds for Ubuntu?

2008-01-28 Thread Michael Lueck

Pau Garcia i Quiles wrote:

Unofficial packages of Samba 3.0.26a for Feisty and 3.0.28 for Gutsy are 
available in my PPA:

http://launchpad.net/~pgquiles/+archive


Thank you Pau! Exactly what I was fishing for.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Official Samba builds for Ubuntu?

2008-01-27 Thread Michael Lueck

Frank Gruman wrote:

I believe Ubuntu has builds of Samba available through their
repositories. 


Yes of course that is the way to get the official distro release.

Ubuntu, like Debian, only issue security patches to their packages after a 
certain distro is released.

I am fishing for a place to get the latest Samba versions specifically compiled 
/ packaged for a version if Ubuntu instead of the former method.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Official Samba builds for Ubuntu?

2008-01-27 Thread Michael Lueck

Greetings Christian-

Thank you for your comments about the progress behind the scenes.

I am sure you have heard it before, but there is interest in some sort of 
official builds of Samba from somewhere of Samba releases as they happen.

I will try to be patient for this to happen. ;-)

Thanks,
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Official Samba builds for Ubuntu?

2008-01-26 Thread Michael Lueck

Greetings-

I am wondering if anyone from the Samba team would happen to have interest in 
creating official builds for Ubuntu?

To add a twist, unfortunately I would not be fishing for 7.10 packages, but 
rather 7.04 as we ran into too many issues with 7.10 whereas 7.04 seems rock 
solid stable.

Or, are there packages built of Samba releases for Ubuntu external to samba.org?

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Mounting to the home share with Linux client, what syntax, etc...?

2008-01-23 Thread Michael Lueck

Greetings-

Using Ubuntu 7.04 as the client OS, I am pondering how to automate a bit of drive 
mappings as I did previously with Windows.

1) What is the syntax to mount the user's home share? If possible I would like 
to variable'ize the username, or not even have to specify it at all. (Assume 
the user's Linux and Samba user names match.)

2) Suggestions / best practices of how to define a naming standard for all of 
the mount points for connections to various servers / shares?

I have been considering:
/mnt/servername/sharename

Not exactly multi-user friendly.

2B) Since /home is on its own partition, can I mount Samba shares on that 
partition, or must the mount point reside on the root partition?

Then my standard might become:
~/mnt/servername/sharename  ;-)

3) Must I have a logoff script, or when Linux shuts down does it take care of 
properly ending connections?

4) Is there an equivalent of doing a domain style logon to a Samba PDC from a 
Linux / Samba client that will run some sort of logon script? If so, then 
please explain how.

Currently we set:
[global]
   logon script = LOGON.BAT
   logon drive = I:
   logon path =

Thus LOGON.BAT is the name of the script, and the path being set to null 
disables roaming profiles.

I think this is enough questions for now. Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Samba can't find its hostname via broadcast

2007-10-22 Thread Michael Lueck

Atrox wrote:

Michael Lueck wrote:

So, how do you know Samba can not find itself?


Well, server doesn't answer to nmblookup by broadcast:
$ nmblookup -B 192.168.1.255 frontier 
querying frontier on 192.168.1.255 
name_query failed to find name frontier 
 
If I query Samba via unicast, it answers OK: 
$ nmblookup -U frontier frontier 
querying frontier on 192.168.1.31 
192.168.1.31 frontier00 


For lo0 interface I get the error: Packet send failed to
127.255.255.255(137) ERRNO=Operation not permitted

Should it be that way?


What are you actually trying to do? I know nmblookup by name, but never have to 
use it.



About logs, what is your smb.conf logging configuration? Ours is:

log file = /var/log/samba/log.%m

which generates a separate log for each machine. First by IP address 
(log.IPADDR) until the computer name of the host is learned. Then it starts 
writing to log.machinename from then on.

So I was asking do you get errors in the Samba logs that you are trying to 
understand?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: folder contents on Win2k SP4 clients become outdated

2007-10-20 Thread Michael Lueck

Brolin Empey wrote:
  1. Sometimes the contents of a folder on a Samba share become outdated until 
the

folder contents are manually refreshed by pressing F5 in Windows Explorer.  From
what I have read, this can be caused by missing or incorrect File Change
Notifications.


We use Win2K SP4 heavilly... I thought that sort of behavior (having to press 
F5) was standard practice. So, same for us.

2. Sometimes Windows Explorer shows duplicates of a folder on a Samba share. 
The duplicate folder disappears after the folder contents are manually refreshed.


We have never had Windows Explorer show duplicate data.


These two problems happen when the Samba share is mapped to a network drive;  I
do not know whether they happen when accessing the Samba share via its UNC path
instead of a mapped network drive.


We NET USE Samba shares to obtain drive letters. We do no access via UNC.


* Debian GNU/Linux
* uname -a:
Linux Repository 2.6.17.4 #3 Wed Jul 19 11:57:48 PDT 2006 i686 GNU/Linux
* Samba: v3.0.23c-3 from Debian prebuilt package


Debian Sarge here.
2.6.12-1-k7 #1 Tue Sep 27 13:22:07 JST 2005 i686 GNU/Linux
Currently running Samba 3.0.26a-1 from Samba.org
We recently upgraded from Samba 3.0.25b-1
I recall being on 3.0.21c for a good long time. Then finally upgraded to 
3.0.23d.
Again, all from Samba.org.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Samba can't find its hostname via broadcast

2007-10-19 Thread Michael Lueck

Atrox wrote:

Ah, yes, it's plain-text :)


??? Should be binary, yet readable with cat.


But there's only 1 IP for the server, but there are 8 lines for the server:


Sounds good. Probably not the same problem as I had then. Yes, I recall 
multiple entries for the server.

So, how do you know Samba can not find itself? Are you seeing messages in the 
nmbd log?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Samba can't find its hostname via broadcast

2007-10-18 Thread Michael Lueck

Atrox wrote:

Hmm, actually the machine runs OpenVPN too, so its (bridged) tap device has
its own IP that falls into the same netmask /24. Is it possible that Samba
may get confused about that? Should specifying only the internal interface
(and lo0 maybe) in interfaces help in this case?


I have no experience running OpenVPN on a Samba server box. We have separate 
firewall boxes and run OpenVPN on those boxes.


PS. I can't try deleting the wins cache right now as Samba is in active use.


I suppose you could take a peek inside that file (cat wins.dat) and see if you 
see multiple IP addresses around the information for your server.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: samba PDC and lan printer

2007-10-17 Thread Michael Lueck

satish patel wrote:

I have configured samba with print services and my printer is LAN printer 
Ethernet jack and my PDC on another subnet so is it possible share printer from 
other subnet ??


What sort of issues with that configuration are you anticipating? MS Domain 
Browsing issues maybe?

I use CUPS with all Samba implementations I have done. CUPS just needs to know the hostname of the printer to send the print jobs to. Once CUPS is configured properly, it is a simple task to get Samba 
to share the print queue.


I make a few pointers in my presentation:
Samba 3 PDC for Windows Clients and Samba 3 Book Review
http://www.lueckdatasystems.com/pub/presentations/iccm2007.pdf

Sincerely,
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Samba can't find its hostname via broadcast

2007-10-17 Thread Michael Lueck

Atrox wrote:

Samba can't find its hostname via nmblookup:
$ nmblookup -B 192.168.1.255 frontier
querying frontier on 192.168.1.255
name_query failed to find name frontier


Have you ever had another (multiple) IP addresses on this particular installation? Long long ago I ran into issues with a test box that had been known by several IP addresses over the course of time. 
nmbd got confused and did not know the IP address of the server itself.


I flushed the wins cache on the PDC and all was well. That is...

stopped samba
deleted /var/run/samba/wins.tdb
started samba

In my case, it tried the oldest two IP addresses the server had been known as, just not the current IP address. Flushing WINS resulted in WINS being rediscovered, and thus the current IP address of 
the server was detected, and samba could find itself again!


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: PDC: Windows xp sp2 reboots when login onto domain

2007-07-29 Thread Michael Lueck

Jose Manuel D. Mendinueta wrote:

Dear all,

I have installed Debian Etch (Samba 3.0.24) in PDC role, with 2 Windows XP SP2 
clients. When I try to join the domain in any of the clients, the machine 
suddenly reboots (both).


Bazaar indeed!

Debian Etch gave me much grief a few months back, so at the last minute I 
reloaded the demo server with Ununtu Server 7.04 and THANKFULLY Samba behaved much better 
on that.

I had been using Debian Sarge since before Sarge went stable.

Upon returning from the presentation, the Debian Etch version released to Stable was 3.0.24-6etch4_i386 and those packages worked fine. Previously I had been fighting with -6etch1 and -6etch2 versions 
without success. As I reloaded the demo server, of course success finally was on another load. (shrug) Maybe if you ever had -6etch1 and/or -6etch2 versions on the server in question, you best 
*PURGE* them and install -6etch4 (at least, I do not know if newer is now available) versions.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Is there a way to support both local and roaming profile with one server / domain?

2007-07-14 Thread Michael Lueck

Ulf Norén wrote:

Using LDAP you can.


Seems then one definite reason to make the move to LDAP with our Samba 3 PDC 
standard. Thanks! :-)

(Any non-LDAP solutions out there anyone?)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Is there a way to support both local and roaming profile with one server / domain?

2007-07-14 Thread Michael Lueck

Adam Tauno Williams wrote:
But as far as a way to configure Samba for 
both, I don't have an answer. I would be highly interested to know how 
if it were possible.


Sure, use domain policies.  A user can be set to use a local or roaming
profile.
http://www.microsoft.com/technet/archive/winntas/maintain/featusability/prof_pol.mspx?pf=true


So, two solutions thus far.

LDAP admin tools seem more attractive than NT4 admin tools... at least the LDAP 
tools could be cross platform.

Yea yea, I know, go ahead and try out LDAP. ;-) Maybe after SUCCESSFULLY 
upgrading/migrating to Ubuntu 7.04 I will consider that.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Access denied-message when joining domain

2007-07-13 Thread Michael Lueck

Jason Baker wrote:

I also want the users to be able to log
in from any computer in the network.



This is called roaming profiles


The OP stated that they want users to be able to log in from any workstation... he did NOT specify that it is expected that on each computer they receive the same desktop environment. Please be 
careful not to jump to solutions before the requirements are clearly understood.


If in the OP's environment it is only necessary to be able to log onto any workstation, and then when logged on to use the programs which are installed on that workstation, then he will be able to do 
so without the use of roaming profiles. This avoids the complications of Roaming Profiles.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Is there a way to support both local and roaming profile with one server / domain?

2007-07-13 Thread Michael Lueck

Recent list messages got me thinking... Is there a way to support both local 
and roaming profile with one server / domain?

As I understand it, the magic line that tells Samba not to do roaming 
profiles is the smb.conf line:

   logon path =

Which the line must exist, and must be set to null.

But that is in the global section. So is there a way to support both local and 
roaming... with some Samba magic?! ;-)

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Keeping old profiles

2007-07-13 Thread Michael Lueck

Walmiro Muzzi wrote:

The user did not log in samba.

Now, log in samba, how I make to keep the old profile?

I don't want that a new profile is created.

The username is the same.


As much as I know, (and given local user profiles) it is necessary to do a 
registry update to tell Windows to load the existing profile rather than the 
new one.

Given roaming profiles, then the local profile would have to be copied to the 
server. Might be best to reboot the Windows box and log on with local 
Administrator, make a copy of the user profile
(use InfoZip zip.exe for example), then log on with a Samba domain account to 
gain network access and copy the backup of the profile to the server.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: 3.0.25 packages for debian/ubuntu

2007-06-30 Thread Michael Lueck

Christian Perrier wrote:
 You're slightly wrong on that part.


backports.org has been set up precisely for that purpose.


(Nod) Indeed I forgot about backports.org when I previously wrote.

I happened to think of that (out of desperation) when I was having trouble getting Debian Etch to work properly for a demonstration. Samba 3.0.23x packages were at backports.org... so I thought 
possibly that too was not a maintained place. And with samba.org still creating Sarge packages eeekkk! Frying pan was hot enough that I demonstrated on Ubuntu Server 7.04! ;-)


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: OS/2 Warp 4 Access Issues

2007-06-30 Thread Michael Lueck

Michael Powell wrote:

Sometime not too long ago, I installed a new security release of samba on my
debian box.


What version of Samba were you running? What version did you upgrade to?

I would be willing to test against Sarge and Simo's packages of 3.0.24... What sort of 
access issues were you seeing?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: 3.0.25 packages for debian/ubuntu

2007-06-29 Thread Michael Lueck

Guillermo Gutierrez wrote:

Any news on .deb packages of v3.0.25b for Debian 4.0 and ubuntu 7.04?


I recently asked the same question. Jerry answered... I think specifically for 
the Etch part of the question:

Gerald (Jerry) Carter wrote:
 Probably once Simo and I swap the Fedora  Debian packaging
 responsibilities with the 3.0.26 release.

I would definitely like to see Samba team packages for the current Ubuntu 
stable version, which currently is indeed 7.04. (hint! hint! ;-)

Debian, and I am getting the idea Ubuntu too, keep their Samba builds patched as far as security updates. So for Debian Sarge went stable with 3.0.14 I think, and that is what it always was... just 
with security patches. I did not pay attention to the debian.org packages as I always fetch Simo's from samba.org.


With all due respect for the package maintainers of the Debian and Ubuntu distros... I sort of wish there would be a way of getting official packages of the current build verses some custom 
concoction (security updates only). (shrug) I certainly do not seem to be the person to make that happen.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: [clug] Samba PDC LDAP HowTo 4 U

2007-06-29 Thread Michael Lueck

Chris Smart wrote:

I've written a HowTo for 'Samba domain with LDAP back end' and am
looking for people to test it and tell me the stupid things I did.


Thanks for posting the URL. I just did a presentation which I do not cover LDAP 
back ends in, and I had a question about just such a configuration, so I will 
pass this along to him.

For reference, my presentation can be found at this URL.

Samba 3 PDC for Windows Clients and Samba 3 Book Review
http://www.lueckdatasystems.com/pub/presentations/iccm2007.pdf
http://www.lueckdatasystems.com/pub/presentations/iccm2007.zip

I did not get all of the dust knocked out before the presentation... but after I think two years since I had last given the presentation I definitely got my work out getting the presentation polished 
up as much as I did. (Scripts and config files are in the zip file.)


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Samba.org packages for Ubuntu 7.04 and/or Debian Etch?

2007-06-27 Thread Michael Lueck

The packages at samba.org in the Debian directory error when trying to install 
on Etch (4.0) so I suspect Sarge (3.1) packages are still being created. Any 
idea when the move to Etch will be made?

As well, anyone willing to build packages for Ubuntu 7.04 and host them at 
samba.org?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Debian Etch bug?

2007-06-19 Thread Michael Lueck

Tim Bates wrote:

Michael Lueck wrote:

So, just a general heads up... something smelling fishy with Debian Etch.


So it's not just me having weird problems on recently upgraded servers 
that have weird permissions setups.
Now if only I had the time to go and try the official packages on the 
most problematic server... But users will complain if I break it (again).


I ended up presenting with Ubuntu Server 7.04 and their current Samba packages, 
which were at build 3.0.24-2ubuntu1.2_i386.

Upon returning from that conference, Debian Etch had been updated to 
3.0.24-6etch4_i386, and a clean installation of Etch and those packages worked 
to perfection.

I have no idea what was up... and since I did a clean install (the previous Etch installation was nuked to hurry off to Ubuntu), possibly it was some Etch bug only if you first installed an earlier 
build of Samba, or, or, or...


Just glad to see that weirdness GONE! :-)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Debian Etch bug?

2007-06-04 Thread Michael Lueck

Miguel Gonzalez Castaños wrote:
You might want to check this. I'm experiencing ADS problems. I haven't 
checked myself whether these etch samba packages actually work for me, 
but you might give them a try


Thanks Miguel! Unfortunately I see no difference in these *6etch4* packages. 
Exactly the same behavior.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Debian Etch bug? Was - Re: Not seeing the expected group memberships with ifmember.exe /list

2007-06-03 Thread Michael Lueck

Greetings List-

It has been a long weekend... we have tried many things. It seems something 
is up with the 3.0.24-1 and -2 packages for Debian Etch that Debian put out.

We installed the old hard drive in the mobile test server (aka ThinkPad) which still had Debian Sarge on it. Purged the Samba packages, and installed the packages of 3.0.24 from samba.org. Following 
the exact same steps, we end up with the expected permissions / memberships / etc...


Also failing with the Etch server were assigning permission to a special user account 
for joining machines to the domain, and also assigning print admin permissions to the Domain 
Admin group.

Those commands were successful with the Sarge hard drive.

So, just a general heads up... something smelling fishy with Debian Etch.

Since we have a workable solution, we plan on demoing on Debian Sarge, and also installing Ubuntu 7.04 server on the HDD with Debian Etch on it currently... and maybe do the presentation with Ubuntu 
if successful.


fff (and it is only 22:45!)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Debian Etch bug? Was - Re: Not seeing the expected group memberships with ifmember.exe /list

2007-06-03 Thread Michael Lueck

Michael Lueck wrote:
It seems 
something is up with the 3.0.24-1 and -2 packages for Debian Etch that 
Debian put out.


Correction, I see per the Debian page, those versions are actually 
3.0.24-6etch1 and 3.0.24-6etch2.

So, just to clarify. I took the time to at least file a Debian bug report as to 
our findings. It can be found at the following URL:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427444

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Not seeing the expected group memberships with ifmember.exe /list

2007-06-01 Thread Michael Lueck

We have bumped into a most odd problem.

Server:
Debian Etch and their Samba 3.0.24-2

Client:
WinXP SP2, MSI v3, all hot fixes

The following settings are in place on the server:
#!/bin/bash
#
# initGrps.sh

# Map Windows Domain Groups to UNIX groups
net groupmap add ntgroup=Domain Admins unixgroup=domadmin rid=512 type=d
net groupmap add ntgroup=Domain Users  unixgroup=domusers rid=513 type=d
net groupmap add ntgroup=Domain Guests unixgroup=domguest rid=514 type=d

# Create some Domain Groups to administer local security
net groupmap add ntgroup=ntadmins unixgroup=ntadmins type=d
net groupmap add ntgroup=ntpwrusr unixgroup=ntpwrusr type=d
net groupmap add ntgroup=ntusers  unixgroup=ntusers  type=d
net groupmap add ntgroup=ntguests unixgroup=ntguests type=d


When we join the domain, we run roughly the following script:
REM JoinDomain.cmd
NETDOM.EXE JOIN %ComputerName% /Domain:LDS-DEMO /UserD:ldsinst 
/PasswordD:password

REM Remove domain to local group mapping done by NETDOM
NET LOCALGROUP Users LDS-DEMO\Domain Users /DEL
NET LOCALGROUP Administrators LDS-DEMO\Domain Admins /DEL

REM Add domain to local group mapping
NET LOCALGROUP Administrators LDS-DEMO\ntadmins /ADD
NET LOCALGROUP Power Users LDS-DEMO\ntpwrusr /ADD
NET LOCALGROUP Users LDS-DEMO\ntusers /ADD
NET LOCALGROUP Guests LDS-DEMO\ntguests /ADD


What is specifically missing in ifmember /list are:
LDS-DEMO\Domains Admins
LDS-DEMO\ntadmins

We are at least getting membership to:
LDS-DEMO\Domain Users



What steps should we try as we try to track down this case of missing group 
memberships?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: os level of Vista? Samba should always win Browser Elections

2007-05-18 Thread Michael Lueck

Gerald (Jerry) Carter wrote:


Haven't looked but I doubt it changed from 16.


Very well then. I will assume that my setting of 33 will perform as well as it 
always has.

I think that was my last remaining point to polish in preparation for an upcoming 
speaking engagement: Samba 3 PDC for Windows Clients and Samba 3 Book Review.

So, much thanks for keeping Samba my favorite OSS/FS project! :-)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] os level of Vista? Samba should always win Browser Elections

2007-05-17 Thread Michael Lueck

What is the os level of Vista? I always set the number on Samba servers one 
higher than Microsoft's value as we want Samba not to be challenged in browser elections.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Countless rec_read bad magic lines in log.smbd

2007-05-08 Thread Michael Lueck

Jeremy Allison wrote:

On Mon, May 07, 2007 at 02:43:15PM -0400, Michael Lueck wrote:

Jeremy Allison wrote:


No, I'd run memcheck on that server :-).

Is that basically Memtest86? I have that downloaded.


Yep, that's what I meant.


Well, last evening we did not get the memory tested. I had our client download the latest version of Memtest86 which comes in the form of an ISO file. Their server failed to be able to boot that ISO 
image. I too had a boot failure on an IBM 300PL (440BX) but had success on a Dell Optiplex GX150. I knew the IBM BIOS sometimes fails to boot some types of CD's, but their server is built on an Intel 
brand motherboard which this is the first occurrence of a boot failure on an Intel board.


I have a diskette image of Memtest86, the previous version, so this evening we 
will create another outage and try that.

Meanwhile...

The client happened to notice a tray icon for the printer. Clicking that brings 
up a dialog showing countless jobs.

Print jobs get through correctly.

Samba communicates to the printer via CUPS and an integrated JetDirect card. 
CUPS shows no jobs in the printer queue.

So, could these stuck jobs have anything to do with the log entries?

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] Re: Countless rec_read bad magic lines in log.smbd

2007-05-08 Thread Michael Lueck

Michael Lueck wrote:


Meanwhile...

The client happened to notice a tray icon for the printer. Clicking that 
brings up a dialog showing countless jobs.


Print jobs get through correctly.

Samba communicates to the printer via CUPS and an integrated JetDirect 
card. CUPS shows no jobs in the printer queue.


So, could these stuck jobs have anything to do with the log entries?


Never mind. I stopped samba, deleted /var/cache/samba/printing/HPLJ3600.tdb, 
restarted samba and the jobs are history.

I will monitor the log file today, and this evening try the floppy image of 
Memtest86.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] Countless rec_read bad magic lines in log.smbd

2007-05-07 Thread Michael Lueck

One of the servers we admin has countless such errors in log.smbd:

[2007/05/07 14:17:08, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/var/cache/samba/printing/HPLJ3600.tdb): rec_read bad magic 0x443810ec at 
offset=28412

The only thread I saw regarding rec_read stated:


If this really happens often to you, then you have some
basic problems with your setup. Either your hardware is
flaky or your smbd processes tend to crash. If you happen to
use reiserfs for /var/cache/samba you might try to change
that fs to ext3.

Volker


On this server, all partitions are XFS.

This is the only printer at this particular site. It is attached to the LAN via 
an integrated JetDirect interface. Samba talks to CUPS, and from CUPS to the 
printer.

So, should I suspect the LAN patch cord?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] Re: Countless rec_read bad magic lines in log.smbd

2007-05-07 Thread Michael Lueck

Jeremy Allison wrote:


No, I'd run memcheck on that server :-).


Is that basically Memtest86? I have that downloaded.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] Re: Countless rec_read bad magic lines in log.smbd

2007-05-07 Thread Michael Lueck

Jeremy Allison wrote:


No, I'd run memcheck on that server :-).

Is that basically Memtest86? I have that downloaded.

Yep, that's what I meant.


All right, I may even get Memtest86 run this evening. Will report pass/fail to 
this thread.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] Re: Countless rec_read bad magic lines in log.smbd

2007-05-07 Thread Michael Lueck

John Drescher wrote:

If you get a single
failure you have some type of hardware problem


It is always possible...


which may include a
problem with the electricity (1/2 second power outage...).


The systems at this client are powered via a UPS, so I am not suspecting 
trouble there.


I have had
a system pass a couple day test only to fail 72 hours into testing
(let the system run memtest over a weekend).


Unfortunately our client leaves for Summer mode this weekend, so an evening 
of testing is as much as I am hoping for.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


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


[Samba] 3.0.24 What commands must be executed by root verses ntgroup=Domain Admins?

2007-04-26 Thread Michael Lueck

I found the solution, or at least a work around, for my posting: Can not grant 
SeMachineAccountPrivilege on Debian Etch

I ended up:
1) ssh to Debian Etch as root
2) smbpasswd -a root
3) issue the net rpc rights grant ... command
SUCCESS!!!

So, that raises the question that what MUST be executed as user root verses a member of 
ntgroup=Domain Admins?

I suspect that since Samba does not prompt for a password when I execute the net groupmap add ... command, that Samba does not take seriously that I wish to have users of a group be just like the 
root user.


Also, if I had configured Debian Etch not to use the root account, but sudo instead (Like the Ubuntu project) then how would that affect this condition? As far as I know, I would think that Samba 
would not be tricked into letting the user ID that is not literally root execute this command.


I usually do not have user root set up in smbpasswd as there has not been 
need for the account to exist as far as Samba is concerned.

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Can not grant SeMachineAccountPrivilege on Debian Etch

2007-04-25 Thread Michael Lueck

I am testing out Debian Etch, and ran into an issue granting 
SeMachineAccountPrivilege to an account... which granting that permission had 
been troublesome in the past.

The command I am issuing is:

net rpc rights grant LDS-DEMO\\ldsinst SeMachineAccountPrivilege

And I try running the command with an account that is a member of the Domain 
Admins group.

The command returns:
Failed to grant privileges for LDS-DEMO\ldsinst (NT_STATUS_ACCESS_DENIED)

In the past when this has failed, the only way to get it to work was to:
1) Stop Samba

2) rm /var/lib/samba/group_mapping.tdb

3) Start Samba

4) Rerun initGrps.sh which does...
# Map Windows Domain Groups to UNIX groups
net groupmap modify ntgroup=Domain Admins  unixgroup=domadmin
net groupmap modify ntgroup=Domain Users   unixgroup=domusers
net groupmap modify ntgroup=Domain Guests  unixgroup=domguest

5) Run the net rpc rights... command

But not even that fixes it.

Ideas? Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Can not grant SeMachineAccountPrivilege on Debian Etch

2007-04-25 Thread Michael Lueck

Dale Schroeder wrote:

Michael,

I believe Etch uses Samba 3.0.24. 


Thanks Dale for the quick response.

That is correct, and also the version I have arrived at after several version 
upgrades. This is the first server I have installed at this level of Samba.

There were changes in 3.0.23 that 
require net groupmap add rather than net groupmap modify.
initGrps.sh will have to be modified accordingly.  See: 
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/ChangeNotes.html


I hope that fixes things for you.
Good luck,

Dale


1) Running as root, I changed the script from net groupmap modify to net groupmap 
add.
2) I stopped Samba
3) I deleted the file /var/lib/samba/group_mapping.tdb
4) I started Samba
5) I exited root back to my normal account
6) I ran the command: net rpc rights grant LDS-DEMO\\ldsinst 
SeMachineAccountPrivilege
and unfortunately it failed with the same error.

So close...

Thanks!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Can not grant SeMachineAccountPrivilege on Debian Etch

2007-04-25 Thread Michael Lueck

Michael Lueck wrote:

Oops...

1) Running as root, I changed the script from net groupmap modify to 
net groupmap add.

2) I stopped Samba
3) I deleted the file /var/lib/samba/group_mapping.tdb
4) I started Samba


4.5) I ran the modified initGrps.sh

# ./initGrps.sh
No rid or sid specified, choosing a RID
Got RID 5001
Successfully added group Domain Admins to the mapping db as a domain group
No rid or sid specified, choosing a RID
Got RID 5003
Successfully added group Domain Users to the mapping db as a domain group
No rid or sid specified, choosing a RID
Got RID 5005
Successfully added group Domain Guests to the mapping db as a domain group


5) I exited root back to my normal account
6) I ran the command: net rpc rights grant LDS-DEMO\\ldsinst 
SeMachineAccountPrivilege

and unfortunately it failed with the same error.



--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Files mysteriously are limited around 2GB

2006-11-24 Thread Michael Lueck

All technologies involved I have well tested, just that I have not assembled 
them together in this combination before WITH THE EXCEPTION OF SMBFS.

Debian Sarge OS
Kernel 2.6.12-1-k7
Samba from samba.org 3.0.23d

Backing up to a USB2 attached 500GB drive, formatted NTFS, on Win2K SP4.

Mount the share using SMBFS, then proceed to backup using XFSDump as I run on 
XFS FS.

Below is the output of one XFSDump command:

/usr/sbin/xfsdump: using file dump (drive_simple) strategy
/usr/sbin/xfsdump: version 2.2.27 (dump format 3.0) - Running single-threaded
/usr/sbin/xfsdump: level 0 dump of ldslnx01:/srv
/usr/sbin/xfsdump: dump date: Fri Nov 24 12:09:53 2006
/usr/sbin/xfsdump: session id: 982a8b46-4fe5-40c3-afc2-4a997e9c5d50
/usr/sbin/xfsdump: session label: data
/usr/sbin/xfsdump: ino map phase 1: parsing subtree selections
/usr/sbin/xfsdump: ino map phase 2: constructing initial dump list
/usr/sbin/xfsdump: ino map phase 3: pruning unneeded subtrees
/usr/sbin/xfsdump: ino map phase 4: estimating dump size
/usr/sbin/xfsdump: ino map phase 5: skipping (only one dump stream)
/usr/sbin/xfsdump: ino map construction complete
/usr/sbin/xfsdump: estimated dump size: 40211226560 bytes
/usr/sbin/xfsdump: WARNING: no media label specified
/usr/sbin/xfsdump: creating dump session media file 0 (media 0, file 0)
/usr/sbin/xfsdump: dumping ino map
/usr/sbin/xfsdump: dumping directories
/usr/sbin/xfsdump: dumping non-directory files
/usr/sbin/xfsdump: ending media file
/usr/sbin/xfsdump: media file size 2147483647 bytes
/usr/sbin/xfsdump: dump size (non-dir files) : 2130861096 bytes
/usr/sbin/xfsdump: NOTE: dump interrupted: 609 seconds elapsed: may resume 
later using -R option
/usr/sbin/xfsdump: Dump Status: INTERRUPT

According to XFSDump, this backup should be around 40GB. The share actually has 
55GB of data on it, according to Windows Explorer.

Taking a shot in the dark that Samba might be the culprit as I have not relied on SMBFS for large file transfers before. All other technologies involved I have successfully created large (2GB) 
backups before.


I would have rather dropped the USB2/FireWire card in the Linux server, but 
Debian Sarge failed to come up with the card installed... this this round-about 
way of backing up.

Suggestions?

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: Files mysteriously are limited around 2GB

2006-11-24 Thread Michael Lueck

Rashkae wrote:


No mystery here.  smbfs is depricated and limited to 2GB.


So what I bumped into was indeed the dreaded SMBFS. Indeed switched to CIFS, 
and STILL backing up! ;-)

So having switched to CIFS, can I safely purge the SMBFS package I downloaded 
from samba.org?

Thanks to all for keeping this list among the most productive of Internet 
support groups - providing fast reliable answers.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Re: DOS/Windows Archive bits, and file ownership

2006-04-09 Thread Michael Lueck

Hi Greg,

If you want the DOS type attribute bits to be accurate, then your best bet is to have an EA supporting file system on the server (Such as XFS) and tell Samba to store the attributes in EA's vs trying 
to map them to Linux attributes.


Per Mr. Allison's suggestion, I have added this to our global section 
recently...

;New things global to all shares for ACL support...
   map hidden = no
   map system = no
   map archive = no
   store dos attributes = yes

So that might play a part in what you are trying to do. If other details come 
to mind, I will post again.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

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


  1   2   3   4   >