Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)
|
|
dsspooler/dsdriver info existence.
(This used to be commit ca8735532cb656a09c1586326cdce33984fe38b4)
|
|
(This used to be commit a148e4c290820a48c8b51e0e0459b2171b32c258)
|
|
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.
Next comes doing it within smbd
(This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)
|
|
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
|
|
(This used to be commit 443d5ebafad46a9a62527642628aff8e5d9dc10c)
|
|
though it is up to the calling function to decide whether values are
strings or not. Attributes are not converted at this point, though support
for it would be simple.
I have tested it with users and groups using non-ascii chars, and if the
check for alphanumeric user/domain names is removed form sesssetup.c, even
a user with accented chars can connect, or even login (via winbind).
I have also simplified the interfaces to ads_mod_*, though we will probably
want to expand this by a few functions in the near future. We just had
too many ways to do the same thing...
(This used to be commit f924cb53580bc081ff34e45abba57629018c68d6)
|
|
(This used to be commit e097666499564ffe28836876a7a191149c14f199)
|
|
(This used to be commit 6169b668fe955f298c7323c5d64f6c7b303aaac0)
|
|
printer modify, now that the ldap control is working.
(This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)
|
|
attributes until a method for checking for their existence is done.
(This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)
|
|
to void **
(This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)
|
|
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)
|
|
it creates and modifies a printQueue object in the directory
(This used to be commit b14e638aeb80bad80cfd12ed60f5e77f24addfd5)
|